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

    Deactivate Items on my purchase order?

    Asked by forkeo on February 19, 2013 at 02:19 PM

    I created items with a $0.00 value and listed them as categories on my purchase order. This definitely has helped the appearance and organization of my purchase order but i run into problems when sombody finally places the order. 

    If they accidentally click the $0.00 value category titles it adds it to the confirmation email they receive after submitting the order. This is confusing for my customers because the email shows items that cost $0.00 that they didnt mean to order.

     

    Is there a way to deactive these items so that the appear on the purchase order but do not appear on the confirmation email?

    http://form.jotform.us/form/30406018139143

    Page URL:
    http://form.jotform.us/form/30406018139143

  • Profile Image
    JotForm Support

    Answered by Welvin on February 19, 2013 at 05:01 PM

    Hi,

    The only possible way to do that is by embedding your form using full source codes, in the form source codes, add extra javascript to disable the three items from your form.

    I'll let you know for the Javascript Later. Please stand by.

     

    Thanks

     

  • Profile Image
    JotForm Support

    Answered by Welvin on February 19, 2013 at 05:04 PM

     

    Here's the codes to disable the three items from your form.

     

    <script type="text/javascript">

    document.getElementById("input_10_1030").disabled = true;

    document.getElementById("input_10_1031").disabled = true;

    document.getElementById("input_10_1032").disabled = true;

    </script>

     

    As advice, you will need to embed your form using the source codes and place this codes just before the closing </form> tag.

     

    Thanks

     

  • Profile Image
    JotForm Support

    Answered by Welvin on February 19, 2013 at 05:10 PM

    Apologize! It should be set to "true", the codes above was updated into this one:

    <script type="text/javascript">

    document.getElementById("input_10_1030").disabled = true;

    document.getElementById("input_10_1031").disabled = true;

    document.getElementById("input_10_1032").disabled = true;

    </script>

     

    Thanks

  • Profile Image

    Answered by forkeo on February 19, 2013 at 06:50 PM

    this didnt work when i tested it...

  • Profile Image
    JotForm Support

    Answered by EltonCris on February 19, 2013 at 08:13 PM

    @forkeo,

    You should add the script under the ending </form> tag. Like this:

    That should work. Thanks!

  • Profile Image

    Answered by forkeo on February 21, 2013 at 09:53 PM

    How do I add it in after </form>? I know how to add in it after the "Preferences" and "Form Style" but I dont know how to inject it directly.

    I am not embedding this form into a website. I am only using it as a pop-up form that opens when a link is clicked.

  • Profile Image
    JotForm Support

    Answered by EltonCris on February 22, 2013 at 07:14 AM

    @forkeo

    Sorry for not clarifying it well. Here's how,

    This can only be achieved using your form source code.

    1. Get your form source code and paste it to notepad or any other HTML editing tools you have.

    2. At the bottom part of the form source code, after </form> tag, paste the following code.

     

    <script type="text/javascript">

    document.getElementById("input_10_1030").disabled = true;

    document.getElementById("input_10_1031").disabled = true;

    document.getElementById("input_10_1032").disabled = true;

    </script>

    3. Save is as html file and upload it to your website.

    4. To use it as pop-up (as what you've mentioned) simply replace the form URL found on the pop-up embed code to the form html file URL you've save on step 3. Examle:

    <a target="_blank" href="javascript:void( window.open('http://form.jotformpro.com/form/30452332860952', 'blank','scrollbars=yes,toolbar=no,width=700,height=500'))">Sample Form</a>

    Just replace the form URL (underlined part) to your modified form URL. Example:

    <a target="_blank" href="javascript:void( window.open('http://www.yourwebsite.com/form.html', 'blank','scrollbars=yes,toolbar=no,width=700,height=500'))">Sample Form</a>

    Hope this clarifies everything. Let us know if you require further asssitance. Thanks!

     

  • Profile Image

    Answered by forkeo on February 22, 2013 at 08:24 PM

    sorry I guess i need to learn my vocabulary better.

    I use this forms URL and create a hyperlink to it in an email for the recipients to click on. I dont have a website or anything. 

    Is this still possible?

  • Profile Image
    JotForm Support

    Answered by liyam on February 23, 2013 at 01:15 AM

    Hello forkeo.  Unfortunately, this is not yet possible if you are to set this only to the form builder.  However, I have added this to our feature requests.  Unfortunately, I cannot guarantee that this can be implemented anytime soon since the development team is pretty busy with projects that are already in the pipeline.

    Rest assured as soon as we have this feature done or if we have progress, we'll sure to let you know.

    Thanks.