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

    Feature Request: Image Function ~ add target attribute for links

    Asked by markashton on October 12, 2012 at 05:03 AM

    Hi,

    I am doing quite a lot of forms for mobile.

    I am unable to use the image function as I don't have control over the target attribute. I often want to execute a link as target_self ... but the default is target_blank ... this means on a phone that you cannot nest the form as part of the mobile site .. instead it wheelspins off on the Iphone interface and is messy.

    So, I have to use a hack i.e. the free html tool and code it manually .... takes time and you well ... you know ;-)

    I would be very grateful if you would consider adding the target attrribute to support the link function for the Image function (in Power Tools). It would be very useful and allow a lot of control.

    i always go and have a look to see if you've added it ... but there i've flagged it.

    Thanks, Regards Mark

  • Profile Image
    JotForm Support

    Answered by Rodjit on October 12, 2012 at 06:16 AM

    Hi Mark,

    I will try to forward this to our featured request list but I'm not sure if they will prioritize this or not since there are lot of fixes that needs to be address first by our developers.

    Thanks for suggesting in.

  • Profile Image

    Answered by markashton on October 13, 2012 at 06:36 AM

    I won't hold my breath .. it'll be a year or so in my experience.

    However, do you think the link that one can apply to images is much use if one can't use the target attrribute? What control is there?

    I can't use it as a power user of Jotform.

    Thanks

  • Profile Image
    JotForm Support

    Answered by liyam on October 13, 2012 at 08:32 AM

    Hello Mark.  I agree with you that there should be control for setting the target attribute on the images, so made a request for this feature to be added. 

    We'll let you know as soon as we have updates on this feature.

  • Profile Image
    JotForm Founder

    Answered by aytekin on October 15, 2012 at 04:56 AM

    If you make it  then the user might lose all of the data entered on the form. That's why the links are opening in the new window. 

    But, if you still need this you can accomplish it using the Free Text (HTML) field under Power Tools. Please see the screenshot below.

  • Profile Image

    Answered by markashton on October 15, 2012 at 06:40 AM

    Hi Aytekin,

    Good point ... but you could set the default as _blank and provide the option of _self or _parent.

    Why is this needed? Most of my form stuff is on mobile. So what one is trying to achieve is to make the form part of a mobile site. This can be done by using these attributes as one never "wheelspins off" into a new window.

    The free html is a workaround but you have to set margins in the html to make the image fit and it is a bit convoluted. 

    I'll leave it with you ... I still think it would be a worthy addition ... and I think you can minimise risk by advising the form-builder of the pitfall in a sentence ... they would then have a choice.

    Thanks, mark

  • Profile Image

    Answered by markashton on December 10, 2012 at 05:17 AM

    Hi,

    Is this a possible goer ... I think it enables Jotforms to become part of a mobile site ... because the form can open in the same window.

    How about setting it as default _blank and just giving the option _self

    Thanks

  • Profile Image
    JotForm Support

    Answered by Welvin on December 10, 2012 at 05:33 AM

    Hi Mark,

    You are correct with that. However, this request is now cancelled. But as suggested by our founder Mr. Aytekin, you can use our Free Text HTML field and set the target attribute their.

     

    Thanks

  • Profile Image

    Answered by markashton on December 18, 2012 at 05:26 AM

    Hi,

    Any chance you can uncancel this then ... because you don't truly understand the value of what I'm actually asking for ... please read the string. The time it would save me ...

    The solution you propose requires a decent knowledge of html to position the free text image element

    Many thanks

    Mark

  • Profile Image
    JotForm Support

    Answered by Goldo on December 18, 2012 at 07:41 AM

    I have re-opened the request. But I'm still not sure if this will be prioritize if ever.

  • Profile Image
    JotForm Support

    Answered by liyam on December 21, 2012 at 01:40 PM

    Hello Mark.  We have just integrated your feature request for the image tool.  Although what was done was have the _blank value as default since using _self has issues in iframe (it won't load the clicked link).  In such cases, you can use Top or Parent for forms that are embedded either via javascript or iframe.

    Please do check it out.  We'd love to hear about your feedback.

    Thanks. :)

  • Profile Image

    Answered by markashton on December 21, 2012 at 01:44 PM

    Fantastic,

    Let me put it to use and I'll feedback on this thread.

    Regards Mark