- amccauslandAsked on June 14, 2015 at 09:44 PM
I have been reading a few posts that we can use a custom action on the form by downloading the source code...
So I am wondering if we simply add our custom form action, and add this code to a webpage - will all the jotform validation still work ok? Will the spam protection (re-captchata/honeypot) work? Also is this server side validation or client side?
- JotForm Supportashwin_dAnswered on June 15, 2015 at 12:53 AM
What kind of code you want to run in your form? We would like to understand your requirement a little more in detail.
Most likely no but we would still like to understand what form action you want to add. If you want to add custom validation and scripts, you will have to download your form's full source code and then add the custom codes.
Will the spam protection (re-captchata/honeypot) work?
If you add the custom codes in your form's full source code, your form should continue to work normally if there is no code conflict.
Also is this server side validation or client side?
Please be noted that all validations as client side validations. There are few validations (like required field) which adds an equivalent server side validation along with the client side. For some reason if the validation is not triggered in client side, it is triggered in server side.
Hope this answers your question.
If you meant to ask something else, do get back to us with your question a little more in detail and we will surely help you.
- amccauslandAnswered on June 15, 2015 at 11:33 PM
- JotForm Supportashwin_dAnswered on June 16, 2015 at 01:08 AM
Okay so if I understand your requirement correctly, you want to send submission data to your own database. Is that correct?
Well you do not have to use your form's full source code to achieve this. There are multiple ways to send submission data to your own database:
#1. You can post the submission data to your own web page by enabling the "Send Post Data" of your form's preferences and set the custom thank you URL to this web page. Then user is redirected to your own thank you page where you can read the submission data. The following guide should help you: http://www.jotform.com/help/213-Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page
#2. You can take advantage of our Zapier integration app as well. Take a look at here: http://apps.jotform.com/app/zapier_integration You may also like to check this which should help you: https://zapier.com/zapbook/jotform/mysql/4061/add-jotform-submissions-to-mysql/
I have moved your second question to a new thread and you will be answered here: http://www.jotform.com/answers/589351
- rude naggarAnswered on May 27, 2016 at 03:58 AM
More about.....Client side validation and server side validation