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.


  • Profile Image

    Is there any future plans for an AJAX upgrade to Jotform?

    Asked by gmdpickett on July 08, 2010 at 02:26 PM

    I am just wondering if there are any plans to introduce ajax functionality to Jotform.  This would really make this the best option for forms.

  • Profile Image
    JotForm Founder

    Answered by aytekin on July 12, 2010 at 09:49 AM

    JotForm has many AJAX powered features. Such as auto-complete tool, captcha, validations. Can you provide more details about what you mean when you say "ajax functionality"?

  • Profile Image

    Answered by everythingink on July 12, 2010 at 10:30 AM

    My apologies for not being more specific. It's possible that the function is already there and I just don't know how to enable it.

    I am looking for the AJAX refresh without page load. What I mean is that when a user submits the form the form sends but doesn't need to redirect to another page it simply updates the form with a "message sent" message.

  • Profile Image
    JotForm Founder

    Answered by aytekin on July 12, 2010 at 10:56 AM

    So, you would like to keep the form on the page but just add a "message sent" message. 

    I am not sure how good this is for usability. If the user does not see or understand the "message sent" message she will think the form is broken. 

    If you need them to re-fill the same form again and again, then you should probably have a Thank You page and then automatically redirect back to the form after 3 seconds. 

  • Profile Image

    Answered by everythingink on July 12, 2010 at 11:04 AM

    Thank you for the response.  I will have to look for another option for forms then.  I have a couple of clients that want this functionality - they have single page websites and have seen this on other websites and have requested this for their forms.

  • Profile Image
    JotForm Founder

    Answered by aytekin on July 12, 2010 at 11:38 AM

    I think you should convince them this is not a good idea. Because it really is not. Users expect forms to take them to another Thank You page. They do not except the form to stay still as if nothing has happened and just show a "message sent" message. Those messages are usually used for warnings and error messages. Not for success messages. 

  • Profile Image

    Answered by everythingink on July 12, 2010 at 12:09 PM

    Thank you for your input. I have utilized this with an Javascript ( AJAX) prior to utilizing Jotform.  I see it on all types of websites. When I say "form submitted" as a message it's not simply that - the messages that I have previously coded show up in a color that is contrasting to the site colours so that the users see it.

    I normally use something that lets the user know that the message has been sent and that someone will respond.

    You can't honestly tell me that you think having a client get sent to a different page and then reload or click back to the main page makes for a better user experience. 

    Again - I appreciate your input although I don't think that I'll be posting to forum anymore as I was simply asking if this fucntion was available. I was not asking for a useability lesson or to be told that I shouldn't be utilizing a feature that is being used by thousands of websites on the web as it is.

  • Profile Image
    JotForm Founder

    Answered by aytekin on July 12, 2010 at 12:21 PM

    No, you don't have to send the user to another page. You can just replace the form with a Thank You message. JotForm has that. In fact, JotForm works that way by default. Please see and make a test entry on our contact form:

    http://www.jotform.com/contact

     

    Maybe that's what your client's asked for. Because I have not seen any good examples of sites that keep showing the form after it is being submitted. 

    Sorry, if I came across as giving a usability lesson. I was just trying to help. Those are my humble opinions. Take care. :)

  • Profile Image

    Answered by everythingink on July 12, 2010 at 12:53 PM

    Thank you. This is exactly what I was looking for.

  • Profile Image

    Answered by soulship on May 24, 2011 at 10:00 PM

    So I would have to agree with the comments here from everythingink. I don't want to get a page refresh or have the user sent anywhere either. Ideally the form should submit and I should get back a 200 if everything went OK and then I can inform the user that the form was submitted successfully with a success div and a success message response. So long story short. Is this possible or not?

  • Profile Image
    JotForm Support

    Answered by liyam on May 25, 2011 at 01:36 PM

    Hello soulship,

    On the technical sense, this is not how the forms here in Jotform are made to do.  By looking closely into the source code, the form's action is pointed to submit.php.  So it has to go out on that page to process the information submitted.

    But, with Jotform's flexibility, you can get the source code, modify it to your preference such as adding PHP's cURL functions.  This way, the form gets submitted to submit.php without your page leaving the form.  It then returns with the response such as a thank you message.  You also won't need AJAX.  On your webhost, all you need is have the cURL enabled (which normally paid web hosting services provide).

    I have tried doing this but it's quite unfortunate that I only have an account with a free PHP webhost so it does not have cURL enabled.  If you're interested, I can share with you the script, upload it to your local server or web host and see it in action.

    Warm regards,

    Liyam

  • Profile Image

    Answered by soulship on May 25, 2011 at 01:42 PM

    Wow Liyam. That would be awesome. I will definitely try it out. I always work from the source when I can. Sometime the use of prototype makes it less than ideal, but in this situation I have to work through any script conflicts anyway. I would love to try your script. Thanks for going the extra mile for me! myusername at gee ma il dott comm. (you know what that means :)

    Thanks again!

  • Profile Image
    JotForm Support

    Answered by liyam on May 25, 2011 at 03:47 PM

    In my script there are two files:

    index.php - the page to viewer
    noredirectformlib.php - my supposed to be library reference script

    Here's the link: http://liyam.freeweb.pk/jotform/noredirectpagesubmit.zip

    Apologies on how my script was formed.  That was a quick pour of information from my head without cleaning and fixing the code properly.  I'm sure it can be created in a better way.

    If you have questions or concerns, just let me know.

    Thanks,

    Liyam

  • Profile Image

    Answered by soulship on May 25, 2011 at 03:48 PM

    Great. Thanks! I can clean it up, just need that kickstart. Cheers!