Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 3

Get User Input - disable Next button.....

Need some help.......

I have a Get User Input (Advanced) panel which has three text fields + cancel/previous/next buttons.

I need to disable the Next button till user enters in all three text fields. This is what I've tried so far.....I put three rules (Match Regular Expression) on the panel to check each field to be "not equal" to "" (empty string).

During the install, I deliberately left them empty, and I was able to go to the Next screen.

How do I disable the Next button till some text is entered in all fields?

Labels (1)
0 Kudos
(2) Replies
Level 20

I would suggest you something else. Right after the panel you could use a Display Message with the following rule: any of the three text fields results is empty. This window will have an OK button that would send the user back to the previous panel with a message that they've left a field empty.
0 Kudos
Level 2

Thanks thesam101,

Im using a toggle button to add or remove a table row with the containing input field and value.
Im adding the row using .after

Im able to get those values within the same function, but not in a new click function outside the toggle function.

Update: I "hardcoded" the table row into my html document, and then Im able to get the input value.
However, if I add this row with jQuery .after, I cannot get that value.

How do I solve this?
0 Kudos