Checkbox Validation innside SimpleForm.
-
tedersm1 week ago #55111
Hi Team,
I´ve created a simpleform in “Screen A” which some Checkbox-Elements innside.
At the End of the “Screen A”, there is a button which navigates to “Screen B”, if the Validation of Simple-Form on “Sreen A” is succesfull. If its not succesfull, a pop-up message is displayed.How is it possible, to validate a Checkbox-Element innside a simple form?
The Validation of other Widgets (e.g. Text-Input, Mail with Regex) works fine! But with the validation of the checkbox(es) i have Problems.Thanks for your Help!
Armin WinklerHas successfully completed the online course IntroductionHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)Has successfully completed the online course Basics (100)1 week ago #55200::Hi Markus,
how exactly are you performing the input validation inside your SimpleForm? Are you using the validation functionality generated by the App Wizard ‘Form Assistant’ or do you rely on your own implementation? If you are utilizing the former or you have configured the SimpleForm validation via its ‘validate’ property or the submit Button’s ‘validateForms’ property, respectively, there is indeed a small mistake in the current state of our two standard widgets ‘CheckBox’ and ‘SimpleForm’ which I have corrected.
Please import the attached transport file to your Simplifier instance and redeploy your application. Let us know if this fixes your problem. If so, we can merge the changes into our Standard Content package available as download from the Marketplace in a future content update.
Thank you and kind regards,
Armin
- This reply was modified 1 week ago by Armin Winkler.
Attachments:
You must be logged in to view attached files.tedersm5 days ago #55244::Hi Armin,
thanks for your Response!
I´m using the Validation innside the simpleForm via the Submit-Buttons “validate Forms” property.I imported your file – it works better now, but not perfect.
When i select the checkbox & click on Submit, it works fine!
If the checbox is not selected and i click on submit, an alert “Message” pops up, that the checkbox have to be selected. If I then select the checkbo, the error message including pop-up still appears. It seems as if the checkbox or the form does not recognize the change in the selection?Attachments:
You must be logged in to view attached files.Sarah WernerHas successfully completed the online course IntroductionHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)Has successfully completed the online course Basics (100)3 days ago #55304::Hi Markus,
thanks for your feedback!
Please follow these further steps:
- Go to the “selected” property of the Checkbox
- Open the “Property Validation” Dialog via the small helmet button next to the property
- Set “Validation” to true, choose “Boolean” as Data Type and “select” as event
- Redeploy and try again.
Does this behavior match your expectations?
Kind regards
Sarah
You must be logged in to reply to this topic.