How to create an anchor tag within the Purchase Order field

  • bdoodle
    Asked on December 8, 2019 at 4:50 PM

    I would like to create a anchor tag in the middle of the Purchase Order of one of my forms and be able to link to that position from another page in my website. 

    I added the following CSS code to my purchase order in my test page, www.madsails.com/NMS_Order_FS_sails.html

    .form-product-item:nth-of-type(9):before {
        content: 'id="Spins"';
        display: block;
        font-size: 18px;
        margin: 10px 0;
    }

    I left it visible until I could get it working....) I then tried to support getting to that spot with the following link from another page on that same website using the following html:

        

    This form is for entering panel colors for a  Flying Scot crosscut spinnaker.

    The other page in question is:

    https://www.madsails.com/NMS_Specify_FS_CC_spinNoTool.html

    PROBLEM: The link gets me to the NMS_Order_FS_sails.html page, but does not position me at the "Spins" anchor.

    I'm guessing that the anchor is not read as if it were html, but just text. 

     

    Is there any way that I can do what I'm trying to do?



  • jonathan
    Replied on December 8, 2019 at 6:22 PM

    You will need to use the form full source code embed to be able to setup your anchor link to the form.

    Steps:

    1. Get the full source code embed of the form

    2. Embed the form on your website page using its source code

    3. Setup your anchor tag/link within the source code.


  • bdoodle
    Replied on December 10, 2019 at 10:08 AM

     Thank you, but I consider the ability to change a form and have it update immediately, without me installing anything, to be one of the best features of using Jotform.  Using full source embedding would prevent that. 

    Please add to your customer "wish list" the ability to add text fields to a Purchase Order (without CSS)
    and the ability to set link anchors within a Purchase Order.

    Thank you!

  • Kiran Support Team Lead
    Replied on December 10, 2019 at 11:42 AM

    the ability to set link anchors within a Purchase Order.

    Due to security related issues, it is not being allowed to use HTML tags within the field labels or fields. However, could you confirm if you want to link to a web page for a product description or detail page for a product in the Purchase order? This would help us in sending a feature request to our backend team for evaluation. 

    Please add to your customer "wish list" the ability to add text fields to a Purchase Order (without CSS)

    This question is moved to a separate thread to be able to open a feature request separately. Please follow the link below:

    https://www.jotform.com/answers/2074112

    Thanks!


  • bdoodle
    Replied on December 10, 2019 at 1:49 PM

     Okay. It's understandable why you don't permit users to create html within their forms. 

    What I want to do is have a link anchor (id or name) midway down my Purchase Order and be able to have a link to it from elsewhere in my website.  i.e. My order form for a given boat supports the purchase of several types of sails.  I want to be able to position my user at the point in my purchase order where the type of sail he's interested in appears.  I might want the link to this anchor in another page or in my dropdown nav menu.

    Perhaps you could permit specification of an anchor tag only within a new Jotform field type.  i.e. The form field creator could only enter an anchor name (and an optional text heading value) and the field would generate a name anchor tag for that value in html (along with any Text heading to appear on the form) which could be used as I've described.

    I'd bet many others would also like this feature.

    Thanks for your consideration.

  • jonathan
    Replied on December 10, 2019 at 4:11 PM

    Thank you for providing us with clear details of your requirements. I have submitted a feature request ticket to the development team using the details you provided.

    We will notify you here and in your email for any news/updates on the status of this feature request.