• Resolved kjetilgf

    (@kjetilgf)


    Hi
    Thanks a lot for a great plugin
    I wonder how I can make a field display depending on which of two radio buttons are selected
    In the contact form on the bottom of our site I have two radio buttons: telephone and e-mail. I’d like a text field to appear underneath them if the visitor selects telephone.
    In the conditional settings of that field I have selected Field>Telephone + Is + …but what then?
    I have tried true, 1, greater than 0, telephone etc
    Thanks,

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @kjetilgf

    I hope you are doing good today.

    In conditional settings, you will need to choose from the select correct value. So in the end this will look like this:

    1. radio button field
    telephone
    e-mail

    2. Phone field
    Visibility tab -> Show & All -> Radio IS telephone.

    Kind Regards,
    Kris

    Thread Starter kjetilgf

    (@kjetilgf)

    Thanks for coming so quickly back to me
    It still won’t work, though
    Let me try to be more precise:
    1 – In the “How may we contact you” tel/e-mail radio button field I have set two options (in Norwegian): E-post and Telefon
    Expanding the fields the system seems to have named those options “epost” and “telefon”, slightly different, but thats fine to keep things apart.
    2 – In the “What time would suit you the best” text field I have set the Visibility tab to
    Show + All
    Rules:
    Field: Telephone | phone-1
    Condition: Is
    Value: telefon
    I have also tried to replace the last “telefon” with “Telefon” or “phone-1” or even “Telefon | phone-1” but no luck.
    I’m sure I just stumble on one silly detail, but which?
    TYhanks;

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @kjetilgf

    Could you export your current form and we can take a closer look?

    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export

    Upload on Google drive and share the URL.
    Best Regards
    Patrick Freitas

    Thread Starter kjetilgf

    (@kjetilgf)

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @kjetilgf,

    It seems like the above URL shared isn’t public. Could you please either mark the URL public so that we could access the export or grant permissions for the request I have sent from my email for incsub.com?

    Looking forward to your response.

    Kind Regards,
    Nithin

    Thread Starter kjetilgf

    (@kjetilgf)

    Sorry – I was in the wrong account
    Your e-mail didn’t arrive (spam filter…, not in spam folder)
    This should work
    Thanks
    https://drive.google.com/file/d/1klKq7zYXvEb_pxwLfSw_D8haszwCwuCF/view?usp=sharing

    Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @kjetilgf,

    To check this further I imported the form to a test site and was able to notice the visibility rule was configured wrong. Since you are looking forward to displaying the text area based on the radio button you need to configure the rule based on the radio button {radio-0). I was able to notice you have configured the same based on the Phone number filed {phone-1}.

    I have fixed this for you, please find the export of the working form here: https://pastebin.com/dFHcekHj

    I hope that helps, feel free to get back to us if you need any further clarification.

    Kind Regards,
    Nebu John

    Thread Starter kjetilgf

    (@kjetilgf)

    Perfect – thank you!
    I had misunderstood the logic part; now this (and several other forms) will work just as intended 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Display field using conditional on radio buttons’ is closed to new replies.