Populate Meta Tag in a Form Field

  • Profile Image
    ugurarcan
    Asked 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

  • Profile Image
    sisglovenecia
    Answered on June 10, 2014 at 03:26 PM

    SI PREDEFINE EN CONFIGURACION TU TEXTBOX Y YA ESTA

  • Profile Image
    Mike_T
    Answered 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
    ugurarcan
    Answered 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>