Support » Plugin: Webba Booking » Frontend custom field checkbox multiple not working

  • Resolved benedicksahagun

    (@benedicksahagun)


    Hi,

    The plugin was awesome but I’m having trouble with one thing on custom frontend fields.
    While using this example:

    <label>Accomodation (Please put a check on one or two boxes)</label>
            [checkbox accomodations use_label_element class:wbk-checkbox-custom id:accomodations "Overlooking Cottage" "Tree House" "Camper Trailer" "Tent" "Nipa Hut"]

    The form was submitted successfully, but this custom field doesn’t save the data. I guess it’s because of multiple choice? The rest of the form fields were saved though.

    I noticed there is no example for [radio] field.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WebbaPlugins

    (@webba-agency)

    Hi,

    Please, use the following example:

    <label for="accomodations">Accomodation (Please put a check on one or two boxes)</label>
    [checkbox accomodations class:wbk-checkbox-custom id:accomodations "Overlooking Cottage" "Tree House" "Camper Trailer" "Tent" "Nipa Hut"]

    The for attribute is required for the label.

    In the current version of Webba radio button is not supported, but you can use checkbox with the exclusive attribute, so customers are able to choose only one option:

    [checkbox accomodations class:wbk-checkbox-custom id:accomodations exclusive "Overlooking Cottage" "Tree House" "Camper Trailer" "Tent" "Nipa Hut"]

    Thread Starter benedicksahagun

    (@benedicksahagun)

    Hi,

    You are awesome, everything works perfectly now!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.