- 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.
- Ally on Multiply Textfield Input x 39 hours, 54 minutes ago
- bruellerwerbung on Multiply Textfield Input x 310 hours, 17 minutes ago
- katw on Calendar date picker > disable next/previous year arrows13 hours, 36 minutes ago
- Ally on export entries – custom date search rather than submitted date13 hours, 52 minutes ago
- Ally on Calendar date picker > disable next/previous year arrows14 hours, 15 minutes ago
- katw on Calendar date picker > disable next/previous year arrows23 hours, 39 minutes ago
- Ally on Form entries duplication1 day, 6 hours ago
- Ally on New hooks and updated documentation (v2.5 release)1 day, 7 hours ago
- Ally on Translation: "Default" text translation in zone selector1 day, 7 hours ago
- quform 2.5.0 by jmjoh2 days, 8 hours ago
- Translation: "Default" text translation in zone selector by celluleweb1 day, 7 hours ago
- New hooks and updated documentation (v2.5 release) by katw1 day, 7 hours ago
- Fatal error: Uncaught Error: Class 'Quform_Element' not found in /home/… by danielsami3 days, 5 hours ago
- Multiply Textfield Input x 3 by bruellerwerbung9 hours, 54 minutes ago
- conditional pages by donmoreno1 day, 8 hours ago
- 'Installation with existing form' question – which php file? by bb31 day, 9 hours ago
- No notification by delfault? by celluleweb1 day, 9 hours ago
- Quform form has dynamic ID's – how to make static? by darko1 day, 9 hours ago
- Calendar date picker > disable next/previous year arrows by katw13 hours, 36 minutes ago