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

    How to protect prepopulated fields.

    Asked by Steve on January 16, 2012 at 01:51 AM

    Just discovered your product and want to say firstly it is very nice! I want to prepopulate some fields for a form and I want the user to see them but I don't want them to be able to edit the contents.

    Is there a way to turn off update ability for a prepopulated field and leave the unpopulated fields for the user to complete as normal ?

    Also (sorry second quick question)  if I download source to place form html js and css on my host server the js files seem to have lots of code. Is all of the js needed as there seems to be quite a bit of it!

    Thanks again for a great product

  • Profile Image
    JotForm Support

    Answered by idarktech on January 16, 2012 at 02:37 AM

    Hi Steve,

    You need to use form source code for embedding and add disabled="disabled" line to the part of the textbox code to have it disabled. Please check this screencast right here.

    Sample: Here

    To learn more about Prepopulation, please follow this link: http://www.jotform.com/help/71-Prepopulating-the-fields-to-your-JotForm-via-URL-parameters

    With regards to your second question, it is always helpful if you can include all the JS files. This is to avoid problems in the future. 

    I hope this helps. Please let us know if you have further questions. Thank you for using JotForm!

  • Profile Image

    Answered by Steve on January 16, 2012 at 08:57 PM

    Hi,

    That was such a fast reply including video instructions. WOW! never seen support this good.

    I can download source of a test form and disable my prepopulated field but I am having lots of problems using it on wordpress. There seems to be lots of white space including around the submit button and radio buttons that I can't remove. (See http://gymbaroo.net.au/ns2/my-new-page/ )

    I have tried both download source options including installing the css and js locally and not. Both make the same problem.

    Wordpress shows form ok when using embed script but as I need to update the form field to include disable I can't use the embed script and need to have the form locally.

    Any idea on how to fix the formatting in wordpress. I tried puting the form code in an iframe but all js validation got disabled.

    Thanks again for your help and super fast responses.

  • Profile Image
    JotForm Support

    Answered by idarktech on January 16, 2012 at 09:22 PM

    Hi Steve,

    I think the form style reads your existing wordpress styles that's why it goes like that. If you could try uploading your form as a separate file (e.g. /form/form.html  where form folder contains all the form ingredients like js/css) and embed it as iFrame, I think that should fixed it. Please give it a try and let us know the result. Thanks.

    You can use this iFrame code if you like: 

    <iframe allowtransparency="true" src="http://www.yourwebsite/form.html" frameborder="0" style="width:100%; height:565px; border:none;" scrolling="no"></iframe>

    Just feel free to let us know if you need any further assistance. Thank you so much for your great feedback! Cheers!

  • Profile Image

    Answered by tcs on January 16, 2012 at 10:27 PM

    Thank You.

    Yes - this worked (just adjusted height to accomodate size).

    I fiddled around for 4 hours trying to work this out. Should have just asked you guys in the first place. Awesome support & great product.

    UPDATE: Formatiing was fixed in wordpress using the iframe but I now don't seem to be able to prepopulate fields using url any more. The iframe seems to block it. Back to the drawing board for me this time.