Generate a HTML code after uploading image.

  • ehost
    Asked on July 9, 2014 at 10:22 AM

    Hi,

     

    I would like to let user submit their image and url.

    Than generate a short HTML code for them.

     

    They can copy and past the code to a place they want.

    I checked the support forum. It seems no similar feature.

     

    Is it possible to do it only with jotform??

     

    Thanks!

  • Carina
    Replied on July 9, 2014 at 12:33 PM

    It depends on the code you wish to generate.  If you wish to add img src tag it is possible by adding it to the Thank you message for instance nested inside <pre> and <code> tags:

    Generate a HTML code after uploading image Screenshot 30

    Generate a HTML code after uploading image Screenshot 41

    I had no success adding the <a href> tag as it created a link instead of displaying the code.

    You can test and clone the form:

    http://form.jotformpro.com/form/41894621077965?

    But please let us know more details on this request so we can see if more can be done.
    Thank you

  • ehost
    Replied on July 9, 2014 at 12:41 PM

    Dearest Carina 

    You are lovely, awesome and amazing!!  

     

    Love you and kiss you.

    Jax

  • KadeJM
    Replied on July 9, 2014 at 2:36 PM

    On behalf of my colleague Carina you are most welcome.