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

    There is an unwanted white space in the free text(html) field texts

    Asked by fltconference on June 06, 2013 at 04:14 PM

    http://form.jotformpro.com/form/30105170000933

    Page URL:
    http://form.jotformpro.com/form/30105170000933

  • Profile Image
    JotForm Support

    Answered by KadeJM on June 06, 2013 at 05:11 PM

    Hi, I looked at your form and it looks like you are pointing out 2 different bugs on your form to us if I am understanding the issue you are having correctly?

     

    Bug #1

    There should be no space after the colon : but it results from unwanted whitespace that is inserted when the form is displayed. The extra space does not appear when in edit mode.

    I'm not quite sure about what you mean after the colon " : " ? Are you speaking about colons being used in that sentence or on the field label or? Can you tell us more about this issue?

     

    Bug #2

    In the PayPal tool below, the Sandwich is marked as Required. However, if the Autofill feature in Chrome is enabled to fill in your address, the checkmark is cleared and the item is no longer required. Is there a way to protect against this if the user has enabled the Autofill feature.

    I also tested this and I was able to replicate the same issue. My suggestion would be to mark the field as required by selecting your " My Products " field in your form editor then turn the requirement to " ON " so that even if that happens it will still require a Product to be selected before it will accept the submission of the form from somone.

     

  • Profile Image

    Answered by fltconference on June 11, 2013 at 11:40 AM

    Sorry, in Bug #1 I should have said "There should be no space before the colon: but it results..."

    In edit mode this appears as

    There should be no space before the colon: but it results...

    in view mode it appears as 

    There should be no space before the colon : but it results...

    Bug #2

    Your suggestion will not work. For example, if the user selects the Drink, the requirement is met even though the required sandwich is not selected.

  • Profile Image
    JotForm Support

    Answered by KadeJM on June 11, 2013 at 12:29 PM

    Ahhh okay, thank you for the clarification about both problems that you are having. I see you updated the form http://form.jotformpro.com/form/30105170000933 with the mentioned bugs for comparison - thank you for providing this information to us.

     

    Bug #1:

    It looks like this is happening on your side within the Free Text (Html) Editor? If not then please correct me. I looked into this some and also elsewhere on a Test Form I created which is here http://form.jotform.co/form/31614624562855 but I am not able to replicate this problem. I additionally checked this on a clone of your form and I was still not able to replicate it there either.

    Which browser/browser version and os are you experiencing this problem in? My tests were in the latest versions of Chrome, FF, and IE10.

     

    Bug #2:

    As for what you mention about The Requirement Not Working for you. I can see and I do understand what you mean. It's noted that you have the Sandwhich Pre-Selected and Required. The problem actually lies therein because of being bypassed if Javascript is disabled on a user's form or if there is a related problem such as outdated, obsolete browser or os since Javascript is used to run the script for the Requirement.

    You could try using a set condition where if the field is marked as empty then the " Submit " button is becomes hidden but it's not a guarantee since it runs on Javascript as well.

    Example is on a Modified version of your form - http://form.jotform.us/form/31614529743153

     

  • Profile Image
    JotForm Support

    Answered by KadeJM on June 11, 2013 at 12:32 PM

    Notice for Bug #2 on the Modified Example Form - http://form.jotform.us/form/31614529743153 I removed the Requirements but if you look at the Conditions you'll see that there is a Rule to Hide the Submit Button if your products are empty. So if you uncheck the sandwhich option leaving everything empty the Submit Button then vanishes.

  • Profile Image

    Answered by fltconference on June 16, 2013 at 03:40 PM

    Bug #1

     

    Your example does not have any formatting on the text before the colon. The problem is caused by the line feeds and indentation you insert into the form source code:

    jotbug1

     

  • Profile Image
    JotForm Support

    Answered by jonathan on June 16, 2013 at 04:25 PM

    Hi,

    Thank you for this information. I also can see the inconsistency on the bug#1 you are to trying to show to us. And the presence formatting on the texts prior to the involved colon(:) sign, seems to be the caused of this.

    But I think, the proper text should be to include the colon sign in the formatted texts? It should fixed the issue if this will be the format to be used.

    The free text(html) should be like this

    <p><em><strong>Bug #1</strong></em></p>

    <p><em><strong>There should be no space after the colon:</strong></em> but it results from unwanted whitespace that is inserted when the form is displayed. The extra space does not appear when in edit mode.</p>

    Here is a sample form http://www.jotformpro.com/form/31666373509965  it does not exibit this inconsistency.

    Hope this help. Please inform us if you have further details/inputs to share.

    Thanks.

  • Profile Image

    Answered by fltconference on June 16, 2013 at 05:21 PM

    If I choose to not have the colon formatted you should leave that alone. You should not be changing the whitespace to accomplish unneeded cosmetic formatting of the HTML. The insertion of line feeds and whitespace into the HTML code is bound to cause trouble like this. 

    Here is another example: "Please change the word possible to impossible." Try adding that to your form. 

    Please change the word possible to <strong>im</strong>possible.

     


  • Profile Image
    JotForm Support

    Answered by jonathan on June 16, 2013 at 05:43 PM

    I understand your point. I did not meant to be too intrusive with the suggestion. I apologize for that.

    I only meant to share the more logical option to overcome the bug #1 that you mentioned.

    Since this is reproduceable in the manner that you have described, I will now elevate this to our next level support. Perhaps they can immediately offer suggestion/option to properly fix the bug you described.

    You will be notified via this thread when updates about this is available.

    Thanks.