Is it possible to set a condition for a single filed using multiple text fields widget?

  • Profile Image
    islands
    Asked on August 15, 2016 at 11:53 AM

    Is it possible to set a condition on just one of the fields when using a multiple text fields widget?  In the conditions editor it seems like this type of widget is treated as a single field, but I was hoping to make a show/hide action based on a specific one of the subfields being filled or empty.  I can go back to using individual text fields, but as the text fields I want are all closely related it looked nicer having them grouped together.

    thanks

  • Profile Image
    Kiran
    Answered on August 15, 2016 at 12:51 PM

    Unfortunately, it is possible to set a condition using a single field from the Multiple text fields widget. Since the widget is loaded on the form using an iframe, the widget is considered as a field. If you need to set the conditions for each field, it is required to use individual text fields on the form.

    If you want to group all these text fields closely, we can achieve it by injecting some custom CSS code to the form. You may add individual fields to your form and let us know the form so that we can help you with grouping these fields to display them closely.

    Thanks!