• Resolved pragmatikstu

    (@pragmatikstu)


    I have made a CF7-form for a client where users can report broken streetlights/power outings etc.

    In the form, the user has to choose which area (town) is affected. The client has contracts with different towns, and they would like the town’s customer number to be included in the email that gets generated upon submission.

    I have already made conditional fields for the street names – but here the users have to actually choose a street. The customer number is fixed, and should not be selectable or even visible to to the users. I can make it a form field and hide it using css (visibility:hidden), but I can’t figure out how this fixed, yet conditional, number can be included in the mail.

    Any ideas??

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

    (@jules-colle)

    I see.. What the plugin does is just show and hide information based on conditions. It cannot be used to create values dynamically. You could just try and create an empty group for each code you have. For example: [group area-1][/group][group area-2][/group][group area-3][/group]

    and then “show” these groups based on the town they select. (even though nothing will be shown as they are empty)

    In your email message you could then write:

    The town customer number is: [area-1]673267[/area-1][area-2]7832782[/area-2][area-3]2565621[/area-3]

    hope that makes sense

Viewing 1 replies (of 1 total)

The topic ‘Conditional field with fixed, predefined number (customer number) (???)’ is closed to new replies.