Jump to content
Sign in to follow this  
maba

Input validators and creators

Recommended Posts

maba

Hi all,

I've searched for a while on the forum.. I have found some examples but not a UDF or similar to manage input validation and input (stardard) creation. Ok, now you can say "write your own", but I'm a AutoIT noob and many features are hide to me.

How you create and validate your (big) forms? StringIs*, some regexp, etc..

And.. when a input box is required? Switch/Case in a _WM_* func?

Edited by maba

Share this post


Link to post
Share on other sites
enaiman

I'm afraid you are not specific enough about what exactly you want.

Input creation? - play a little bit with Koda(Form Designer) from SciTe/Tools menu.

Validation? that is entirely up to you and you really need to write the code for that because nobody knows what you want to validate. but as a generic option, yes, StringRegExp might be the best.

Input Box - is usually needed when you don't want to build a whole GUI but you want to prompt the use for some information during your script execution.


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites
maba

Hi,

validation is, generally speaking.

I've a web oriented background and in it exists "global and/or generic" validator class..

Something general for password, email, required input in a form, etc..

Thanks

Share this post


Link to post
Share on other sites
Aipion

Do you want validation, lets take password as an example. What characters can be entered or something like that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×