LSY Posted October 23, 2021 Share Posted October 23, 2021 Hello, I'm just start using unigui , may i know how i validate my all form input before submit?is use sencha ext js? any example? i want to validate it at Client-Side, i'm use TunitButton,TunitEdit to design. thanks Link to comment Share on other sites More sharing options...
Sherzod Posted October 23, 2021 Share Posted October 23, 2021 Hello, Thank you for your interest in UniGUI. 3 hours ago, LSY said: before submit What do you imply? Link to comment Share on other sites More sharing options...
LSY Posted October 23, 2021 Author Share Posted October 23, 2021 sorry for my poor english, example i want to check every field/column data key in is valid before submit/insert to database for example colum A the minimum char length, column b minimum age can apply, column 3 the member id already exist? thanks Link to comment Share on other sites More sharing options...
x11 Posted October 24, 2021 Share Posted October 24, 2021 procedure SetRequiredEdit(UniControl: TUniControl); begin // for mobile - required, for descktop - allowBlank UniControl.JSInterface.JSConfig('allowBlank', [False]); end; Link to comment Share on other sites More sharing options...
x11 Posted October 24, 2021 Share Posted October 24, 2021 http://forums.unigui.com/index.php?/topic/15926-проверка-ввода-текста-и-управление-кнопкой-с-помощью-js-в-браузере/&do=findComment&comment=87572 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now