Show/hide widgets based on previous answers (Conditional Value)

Follow

Comments

5 comments

  • Avatar
    Ogah

    Explicit enough for anybody to understand

  • Avatar
    Eric Ertl

    Does anyone know if its possible to use a conditional value with iformbuilder built-in functions? For instance, if I wanted only Joe Smith to see a signature widget can I write something like iformbuilder.username=="joesmith" in the conditional value?

  • Avatar
    Tony Ruth

    Hi Eric, you shouldn't have any problem doing so. Any valid JS logic can be used to show / hide fields.

  • Avatar
    Jonathan Mukesha

    This is my eg. of the previos validation condition,
    (element1 == 0) || (element2 <= 300 && element2 >= 0)
    (element3 == 0) || (element4 <= 300 && element4 >= 0) && (element4 <= element0)

    Previously all these elements was type : number, and i'have changed them to "Select" for making the data collection quick, so they will have to select with a range preset. eg 10 20 30 40 50
    now my data validation can't work anymore because now the type of data is select and no longer number.
    How does an elementX can be created to do the sum of element1, element 2 and element3? if they type select and not number?

  • Avatar
    Karl Simms

    Hi Jonathan
    whats the Key Value and Label of element1,2,3 & 4?

Please sign in to leave a comment.

Powered by Zendesk