Option Values for New Fields

This topic contains 1 reply, has 2 voices, and was last updated by  Guust 6 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #428183

    Andrew
    Expired Member

    I’m having trouble deciding on the appropriate types (and configuration) of new fields for my listings before eventually importing a large spreadsheet w/ thousands of listings.

    My goal is for my listings’s fields to appear like those seen on the sidebar of the webpage in the ATTACHED screenshot.

    Some groups of fields (example groups: “Financial & Insurance Details” and “Facility Center Details”) should display the fields regardless of whether the value is yes or no.

    Other groupings of fields (example from website linked above: “Accreditation/License”) should display ONLY the fields if the value is yes.

    Ideally I’d like to display Checkmark and X icons in the place of “yes” and “no” if possible as well (like the website linked above).

    Should I use multi-select?
    Should I use an {optgroup} in the Option Values?

    I’ve also attached a screenshot of a portions of my binary spreadsheet columns.

    Please help! Thanks in advance for your guidance

    #428200

    Guust
    Moderator
    Post count: 29970

    Use a fieldset for “Financial & Insurance Details”: https://wpgeodirectory.com/docs/core-place-settings/#fieldset

    A fieldset will not show if there are no fields showing below, so that should sort “Other groupings of fields (example from website linked above: “Accreditation/License”) should display ONLY the fields if the value is yes.”

    Use a select field for each option, and use some CSS to get the look you want:
    https://wpgeodirectory.com/docs/core-place-settings/#select
    https://wpgeodirectory.com/docs/custom-field-examples/

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount