What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Custom Form Implementation QuestionAsked by rbtriton on September 24, 2014 at 03:52 PM
I'll apologize in advance because this is a little long-winded, but need to know if the following is possible.
I will be launching a new website powered by Ghost 0.5, which runs on Node.js. Currently, their email API that they use to send admin type emails (forgotten password and so on) from Ghost is closed and I am not able to write up a Node script to handle my form like I would like to because the hooks do not exist to make it possible. The only way I can get a simple contact form on my site is to embed one, like from this service. Before I figured out the inability to do it, I had already coded up the form with great real-time front-end validation with error/success handling, and set-up the ajax post request so my users stay on the same page without a reload.
I would very much like to keep the front-end that I have already developed for my form so things stay as close as possible to the way they are. So my question is would I be able to create a form here so I have all of the data names etc correct for processing, and use the action url for the form to be able to keep my front-end? I also noticed that there were a few hidden fields that are used to identify my specific form and so forth so they will have to be added in. It looks like it may be possible, but just wanted to double check.
Also, it doesn't look like it is possible, but would I be able to load the success/error response into the page to prevent reloading?
Right now, the site is not live and is only on my dev machine and plan to deploy it sometime next week, so I cannot provide a url to see the code at this time, but if you need it, I can email it.
Thanks again for your help and patience.
Though I am not sure what you are referring to as to the success/error handling in your page, it is possible to change the field names to match whatever you have previously setup in your page. The field ID's however are automatically generated and mapped to our database. As far as the submit button action, it is possible to tie that event to another action, other than the one that sends the data to your JotForm account. Once you are done creating the form you would like, you can get the full source to embed by following these steps: