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

    Populate Meta Tag in a Form Field

    Asked by ugurarcan on June 10, 2014 at 03:22 PM

    What I need seems bit different. I want the page title that my form is embedded on to populate as one of the field inputs. Any idea how I can do that? Thanks.



    This is a re-post of a comment on Prepopulating Fields to Your JotForm via URL Parameters

    prepopulate page information meta tag
  • Profile Image

    Answered by sisglovenecia on June 10, 2014 at 03:26 PM

    SI PREDEFINE EN CONFIGURACION TU TEXTBOX Y YA ESTA

  • Profile Image
    JotForm Support

    Answered by Mike_T on June 10, 2014 at 04:32 PM

    It should be possible with a Form Source code and some custom Javascript code. Can you please provide us with an example of the Meta Tag in question?

    Then we will try to help with the code part.

  • Profile Image

    Answered by ugurarcan on June 10, 2014 at 05:33 PM

    sorry my message is getting messed up using rich text editor.

    What i want to do is present a form for users to fill out. However they are already on a page and there is no point of them entering the topic name again. I want a field to prepopulate the page title but not the <title> tag because it has other values in it. I want one of these two (XX or YY) to be called in automatically and filled in one of my fields:

    <meta property="og:title" content="XX"/>

    <meta itemprop="name" content="YY"/>

    I am not a coder but know .js enough to be dangerous. Yet after researching many variations I was unable to create a code to pull one of these tags and prepopulate a form field.

     

    hope this helps. thanks.

    tag because it has other values in it. I want one of these two (XX or YY) to be called in automatically and filled in one of my fields:</p> <p><span style="font-family:Arial;" _mce_style="font-family: Arial;"><span style="font-size:12px;" _mce_style="font-size: 12px;"><meta property="og:title" content="XX"/></span></span></p> <div> <div><meta itemprop="name" content="YY"/></div> </div> <div></div> <p>I am not a coder but know .js enough to be dangerous. Yet after researching many variations I was unable to create a code to pull one of these tags and prepopulate a form field.</p> <p>tag because it has other values in it. I want one of these two (XX or YY) to be called in automatically and filled in one of my fields:</p> <p><br /></p> <p><br /></p> <p>I am not a coder but know .js enough to be dangerous. Yet after researching many variations I was unable to create a code to pull one of these tags and prepopulate a form field.</p> <p><br /></p> <p>hope this helps. thanks.</p></p> <p>hope this helps. thanks.</p>