Ysengrim Posted August 18, 2008 Share Posted August 18, 2008 I'm stuck and can use some help.I've got 1 page with several fields for inputGUICtrlCreateLabel() GUICtrlCreateInput ($1) GUICtrlCreateInput ($2) GUICtrlCreateInput ($3)After pressing button i check if inputs are validselect Case GUICtrlRead($1) = not valid then gobackendselectBut here I got a problem with going back and re-enter only the input that's not validGUICtrlDelete(wrong input) doesnt work wellMy questio : How can I refresh page so that all the texts and the valid inputs stays on the screen and only the not valid input would be erased and give the possibility to re-enterAnd then i can hit the button again to check again till all inputs are valid before continu program?thanks for helping out Link to comment Share on other sites More sharing options...
Xenobiologist Posted August 18, 2008 Share Posted August 18, 2008 Hi, pseudocode Func _check() if guictrlread($input) = "not valid" Then guictrlsetdata($input, 0) and so on. Endfunc Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Ysengrim Posted August 18, 2008 Author Share Posted August 18, 2008 (edited) thnx but the problem is i have inputs with lots of choises for example : i have to check if input is a real date if it is its ok if it is not the user must have to reenter a date till its a valid one the problem is not the checking itself thats working but if the checking sees that an input was not valid to go back to the screen and empty the input and give the user a new chanche of input without erasing the other inputs and variables Edited August 18, 2008 by Ysengrim Link to comment Share on other sites More sharing options...
Xenobiologist Posted August 18, 2008 Share Posted August 18, 2008 (edited) Hi, there is no problem. I would do this : one mask with lets say 5 inputs and one button button press starts the checking func. if vaild ok, if not then set data to "" for that inputs. Mega Edited August 18, 2008 by Xenobiologist Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Ysengrim Posted August 18, 2008 Author Share Posted August 18, 2008 its working thnx guys !!! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now