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

In rules component, checking for blank values in user input fields

There is a user input field which cannot be left blank. How to check if the text is not null by adding a rule. I tried the Match Regular Expression rule to validate it.
It validates other stuff but cannot verify for blank input.
Labels (1)
0 Kudos
(4) Replies
Level 20

Check to see if it's $NULL$, that should do the trick.
0 Kudos
Level 9

if you want to check that any text field should be left blank,then you use the installanywhere variable which you have used in the Get user input advanced.
Then use compare installanywhere variables:
Say your installanywhere variable name:
then use this strategy:
1.Add a message dialog and when the user clicks on "ok" make him to go to the previous panel.
On this message dialog you add a rule:
If any queries revert back,i am here to help you if i know the solution.
0 Kudos
Level 3

If we have to restrict User to enter only Numeric data.
What I have to do??
0 Kudos
Level 20

Use a regexp.
0 Kudos