This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: In rules component, checking for blank values in user input fields
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 04, 2008
05:34 AM
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.
It validates other stuff but cannot verify for blank input.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 04, 2008
06:08 AM
Check to see if it's $NULL$, that should do the trick.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 04, 2008
08:50 AM
hi,
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:
$AJAY_INSTALLER$
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:
$AJAY_INSTALLER$ equals $NULL$.
If any queries revert back,i am here to help you if i know the solution.
james.
james
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:
$AJAY_INSTALLER$
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:
$AJAY_INSTALLER$ equals $NULL$.
If any queries revert back,i am here to help you if i know the solution.
james.
james
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 28, 2011
07:14 AM
If we have to restrict User to enter only Numeric data.
What I have to do??
What I have to do??
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 28, 2011
01:06 PM
Use a regexp.