• Resolved greenrooster

    (@greenrooster)


    Hi,

    I’m new to Forminator (coming from Caldera Forms, which is very customizable). It seems that hidden fields are not usable for conditional visibilty. When I choose a hidden field as the condition, nothing happens. The form acts like it normally would. My use case is to feed the hidden field a query variable. If the query variable exists, show the form. Otherwise, hide the form.

    I’ve tried different versions of conditional visibility with hidden fields, comparing to an exact string (ex. “Hello”), comparing to exact integers (ex. “23”), using blank fields. Nothing seems to work. I notice that hidden fields behave differently depending on the location on the page (ex. hidden field content will not show in html field if placed below the html field), but changing location on the page doesn’t change the outcome. Any thoughts? Is this an expected outcome?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Dmytro – WPMU DEV Support

    (@wpmudevsupport16)

    Hi there @greenrooster

    Indeed, this is a known issue with hidden fields that aren’t working with visibility conditions.

    I just tested a similar setup as yours – passing a query parameter to a hidden field in a form and checking for a value in that hidden field to show/hide another field – and I can confirm it does not work.

    A fix for this issue is in the works and should be coming soon, but we can’t provide any specific ETA I’m afraid.

    Cheers!
    Patrick

    Thread Starter greenrooster

    (@greenrooster)

    Great. Thanks for the update! I’ll figure something out in the mean time.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hidden Fields Unusable for Conditional Visibility’ is closed to new replies.