Custom Form Implementation Question

  • Profile Image
    Asked 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.

  • Profile Image
    Answered on September 24, 2014 at 04:32 PM


    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: