• Resolved Rudolph Smits

    (@rudolph-smits)


    Do I get it right and does these conditional steps only react on content in “select”-fields?

    What I mean is this. I have groups to show or hide depending on data retrieved from a database. These data I put in a dynamic hidden field as for instance:
    [dynamichidden vhv_bedlinen “yes” ]. This is written in the beginning of the cf7-form and previously loaded by the calling page.

    But the statements vhv_bedlinen ‘yes’ or ‘no’ are both ignored. No group is shown. When I make a select-field it works as desired. But I cannot make a select field. The question (select field) ‘do you want bedlinen for this vacation home’ is unnecessary when no bedlinen is available.

    Did I do something wrong or is my first sentence right, Conditional Forms is only working with ‘select’-fields.

    Cheers
    Rudolph Smits
    Netherlands

    The page I need help with: [log in to see the link]

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

    (@jules-colle)

    You need to call the javascrtipt change() event on any of the input fields after you loaded your data from the database.

    (If this makes no sense to you, you need to hire a developer to do what you are trying to do. Although this plugin can be used as a tool voor further development, it does not support dynamically modified data out of the box yet)

    Thread Starter Rudolph Smits

    (@rudolph-smits)

    Yeah, I am familiar with JavaScript. But I don’t see how to use this in a page and from there influencing the show of a particular text (no bedlinen available) or a select (do you want bedlinen Y/N) in a CF7-form.

    But I realise I am moving off topic now. Jules, thanks a lot, I hope to find an answer elsewhere.

    Cheers
    Rudolph Smits.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Condtional Forms only react on select-fields?’ is closed to new replies.