- August 15, 2016 at 8:26 pm #19668
I am in need of two buttons on my QUform page, like “Save Draft” and “Save Final”.
The “Save Draft” should ignore the required fields and “Save Final” should verify the required field values whether it is filled the data or not, if not raise the required field exception before submit to the server.
for ex: in ASP.NET we use CausesValidation=false for the button property to ignore the required fields .
Can some please suggest me on this how to get this done?
Thank you in advance.
RAVI PERLAAugust 17, 2016 at 8:54 pm #19687
AllySupport StaffDecember 4, 2017 at 5:35 am #23308
I want to know how can I trigger the pre_validate hook, when the user clicks on “Save Draft” element (I want to be a button without submit action). If the “Save Draft” is the submit button, it would go through the validation process and insert the record to the Entry table and it would send out an Auto reply email.
Instead, I want to insert the record to my custom database table only. Until the user clicks “Confirm”, then the record would be inserted to the Quform Entry table and sent out Auto reply email.
VenomDecember 7, 2017 at 7:16 pm #23376
You must be logged in to reply to this topic.
- DinosMa on Various errors in the form11 hours, 54 minutes ago
- Ally on Default value2 days, 10 hours ago
- Ally on If / then custom support2 days, 10 hours ago
- Ally on Customize layout of submitted form (admin side)2 days, 10 hours ago
- hippodice on File Upload: Button-Text contains unwanted parameter4 days, 22 hours ago
- hippodice on File Upload: Button-Text contains unwanted parameter4 days, 23 hours ago
- Icemanmx on file code.txt validation1 week ago
- Ally on Registration Form and Edit Profile Form1 week ago
- Various errors in the form by DinosMa11 hours, 54 minutes ago
- Create a Link from Numbers entered into Text Area by walterwhitejr1 day, 9 hours ago
- No Formatting and added fields and button that aren't suppose to be there. by ftlamont2 days, 18 hours ago
- Notification Custom Email – Not pulling from email-content.php by katw3 days, 2 hours ago
- Custom email notification – other data fields by katw3 days, 6 hours ago
- Display HTML text based on hidden filed by almarkhi73 days, 17 hours ago
- File Upload: Button-Text contains unwanted parameter by hippodice4 days, 22 hours ago
- Integration with Agile CRM by lubu-cz6 days, 13 hours ago
- An error occurred submitting the form by lavarock1 week ago
- Radio buttons with a picture hover? by Gennaro1 week, 1 day ago