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: How to make user Input (text) mandatory
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
‎Sep 03, 2009
08:27 AM
How to make user Input (text) mandatory
Hi,
How to make user Input mandatory,
i.e. The User HAS to enter text (any text) in the input box to proceed to next step. (to make the field mandatory)
please advice,
thanks
Sudhi
How to make user Input mandatory,
i.e. The User HAS to enter text (any text) in the input box to proceed to next step. (to make the field mandatory)
please advice,
thanks
Sudhi
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 03, 2009
12:00 PM
I don't think you can do it right on the panel, but only with a little trick. The user input normally you store it in a variable right? Well right after the panel you compare the variable to the $NULL$ variable and set another variable, say $GO_BACK$ to true based to this test. You will only have to use a Display Message, if $GO_BACK$ is true, which says "you need to input something in order to continue" and with an OK button, which when click will go back to previous panel. Et voilà ! 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 03, 2009
11:52 PM
There are two methods to achieve this with the help of InstallScript:
1. Make the Next button disable and enable it only when user enters some text in the text box.
2. Put a message box if the user clicks next button without entering any text in the text box, and the focus should be on the same dialog after clicking the message box.
1. Make the Next button disable and enable it only when user enters some text in the text box.
2. Put a message box if the user clicks next button without entering any text in the text box, and the focus should be on the same dialog after clicking the message box.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 06, 2009
11:41 PM
thanks a lot..
Setting $NULL$ variable did the trick, now the user cannot proceed with out providing text.
thanks
Sudhi
Setting $NULL$ variable did the trick, now the user cannot proceed with out providing text.
thanks
Sudhi
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 23, 2009
07:57 AM
sudhichadaga wrote:
thanks a lot..
Setting $NULL$ variable did the trick, now the user cannot proceed with out providing text.
thanks
Sudhi
Could you please elaborate "Setting $NULL$ variable"?
I need this in my installer.
Thanks,
Hemant
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 23, 2009
08:27 AM
In IA you've got the built in action Set Install Anywhere variable - Single Variable and you just set your variable to the $NULL$ value.