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
- :
- Verify input from Get User Input - Advanced Panel
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
‎Aug 15, 2013
10:14 AM
Verify input from Get User Input - Advanced Panel
I have a "Get User Input - Advanced Panel" in which i get an email address and a password from the user. When the user clicks next I want to verify that information before sending them to the next panel.
What is the best way to do this?
What is the best way to do this?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 27, 2013
03:25 PM
It all depends on the level of verification needed.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 12, 2013
07:01 AM
The best way is to use a regular expression to verify the email address entered. If the installation is running on *nix, then a shell script will do the job, however if it is windows then the best way would be to write a Java custom action to validate the email address as there is no direct way of validating email addresses via bat files.
Another approach on Windows could be to run a power shell script to do the regex based validation. However I won't recommend this approach as:
1. Power shell script execution will load all kinds of .net libraries.
2. It will only work on OSes which have power shell installed.
So the best bet on windows is to to write a custom action.
Another approach on Windows could be to run a power shell script to do the regex based validation. However I won't recommend this approach as:
1. Power shell script execution will load all kinds of .net libraries.
2. It will only work on OSes which have power shell installed.
So the best bet on windows is to to write a custom action.