DMXzone Database Updater PHP Support Product Page

Answered

Required field in modal form

Asked 22 Aug 2014 09:26:31
1
has this question
22 Aug 2014 09:26:31 Andre Bender posted:
When I have a empty required field in a modal form the modal closes when I Submit the form and click on the error message. All other entered data is lost.

Is there a way to use a solution like the e-mail formatting example you have but just for checking an empty field and add a css class to it instead of showing up the pop-up window with the error message?

Replies

Replied 22 Aug 2014 09:35:26
22 Aug 2014 09:35:26 Teodor Kuduschiev replied:
Can you please provide a link to your page, where we can check this?
Replied 22 Aug 2014 13:07:16
22 Aug 2014 13:07:16 Andre Bender replied:
I send you the link by email
Replied 22 Aug 2014 13:11:24
22 Aug 2014 13:11:24 Teodor Kuduschiev replied:
You need to run the "close/hide modal" behavior with the behaviors "when the action is successfully executed", not as you currently have it on button onclick.
Replied 22 Aug 2014 13:25:29
22 Aug 2014 13:25:29 Andre Bender replied:
Ok thanks a lot.

Reply to this topic