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

    driving distance widget 'from' originating location read only

    Asked by rbroadfo on October 16, 2015 at 10:09 AM

    Hello,

     

    Can I make the originating location ('from') on driving distance widget static or read only? 

    Any help appreciated.

     

    Ryan

    Page URL:
    https://form.jotform.com/50274139754256

    read only distance widget driving distance static hello
  • Profile Image
    JotForm Support

    Answered by BDAVID on October 16, 2015 at 11:49 AM

    Please go into the widget wizard, and enter the following CSS code to make that Text Box field un-editable:

    input#ddFrom

    pointer-events: none

    Let us know if you need more help, we will be glad to assist you.

  • Profile Image

    Answered by rbroadfo on October 16, 2015 at 01:03 PM

    Worked perfectly. Great tech support again. Thanks.

  • Profile Image
    JotForm Support

    Answered by BDAVID on October 16, 2015 at 01:18 PM

    You are welcome! Contact any time, were are here to help.

  • Profile Image

    Answered by academicproofreading on December 09, 2015 at 10:05 AM

    This works great!

    Is there a way to hide the Distance and Duration output? I don't want clients to see this. Many thanks.
  • Profile Image
    JotForm Support

    Answered by KadeJM on December 09, 2015 at 12:26 PM

    On behalf of my colleague helping you here you are most welcome and we're glad that worked out for you.

    As for your other question about hiding the Distance and Duration Output that's a new question so I have moved it to this new thread over here for you.

    In the future we ask that you please only ask one question per thread and thank you in advance for your cooperation.

  • Profile Image

    Answered by academicproofreading on December 12, 2015 at 05:22 AM

    I have a quick question related to the original post (I hope this doesn't warrant a new thread, apologies if I should have done this), the static/read only CSS works fine, but is there a code I can use to HIDE the 'From' box?

  • Profile Image
    JotForm Support

    Answered by BJoanna on December 12, 2015 at 01:39 PM

    If I understood you correctly you want to hide borders of that input field. If that is the case add this code:

    input#ddFrom{ 

    pointer-events: none; 

    border:none;

    After that your form will look like this.

    Hope this will help. Let us know if you need further assistance. 

     

  • Profile Image

    Answered by academicproofreading on December 16, 2015 at 06:29 AM

    Thank you for your response, but unfortunately that isn't quite what I meant. I am looking to hide the whole first input field, so 'N2B1V7' would not show in the form. This is because I set the first field to a location I don't want chanced, I have used the custom CSS so that the client cannot change the location, but I also don't want them to see it. Is this possible? Thank you for your help.

  • Profile Image
    JotForm Support

    Answered by mert on December 16, 2015 at 09:00 AM

    In this case, you need to inject following CSS codes to your widget by using the "Custom CSS" tab on it.

     

    input#ddFrom{ 

    display:none;

    }

     

    Please, try this one and let us know the results. For further assistance, you can always reach us from here.

    Thanks.

  • Profile Image

    Answered by academicproofreading on December 16, 2015 at 10:00 AM

    That's great, thank you! Would a similar code work for hiding the Time and Distance output?

  • Profile Image
    JotForm Support

    Answered by mert on December 16, 2015 at 11:23 AM

    Unfortunately, you can't hide specific values from the result side, because all of the values are defined in one div. So, if you add a CSS for hiding, it will hide the entire result.

  • Profile Image
    JotForm Support

    Answered by BJoanna on December 16, 2015 at 11:25 AM

    Unfortunately this is not possible to achieve. I saw that you opened separate thread with same question and my colleague has escalated this to our developers.  

    http://www.jotform.com/answers/721441 

    If there are any updates regarding this issue we will inform you via that thread.