• Resolved klabauter18055

    (@klabauter18055)


    I have a problem when I give the respective selection fields in the different groups different names. Because I have to transfer the field values to a booking software, which asks for fixed field names. I would therefore always have to have the same field name in the result regardless of the selection of the conditional fields.
    Example journey: train / ship / car / bicycle
    Group (1) Diesel / Electric / Draisine
    (2) paddle steamer / submarine / paddle boat
    (3) Gasoline / Diesel / Electric
    (4) Tandem / E-Bike / Standard
    Regardless of what the user selects, the result must be transferred with the same field name. How do I do that?
    Best regards
    Andreas

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

    (@jules-colle)

    Well, HTML specs do not allow multiple occurrences of the same field name (with the exception of splitting up a single field)

    However, if you make sure that the fields with the same name are never visible at the same time, you can use the same field name with the disable_on_hide property. Because this is a bit of a technical feature it’s only available in Conditional Fields Pro. https://conditional-fields-cf7.bdwm.be/disable_on_hide/

    Thread Starter klabauter18055

    (@klabauter18055)

    Hi Jules,
    thanks very much. Learned something again.

    Andreas

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

The topic ‘different field names in different groups’ is closed to new replies.