Pick up email address from user login

  • Anna_Kane
    Asked on December 10, 2020 at 3:50 AM

    If I have a form embedded into a platform that a user has signed into - can jotform pick up their email address from their user signin, and then submit a copy of the form to that address using the autoresponder?

  • Ashwin JotForm Support
    Replied on December 10, 2020 at 4:13 AM

    Unfortunately form cannot automatically track the logged-in user's email form to other platform. If the email address data is available for you in any variable like session or any other object in that platform, you can use the URL parameter feature to populate form fields. The following guide should help you how to populate form fields with URL parameter: https://www.jotform.com/help/71-prepopulating-fields-to-your-jotform-via-url-parameters

    For example, if you are using PHP based system and if you want to pass the session ID of PHP as URL parameter, the format should be:

    <iframe id="JotFormIFrame-203424876258058" title="Thread #2752614 Demo form" onDISABLEDload="window.parent.scrollTo(0,0)" allowtransparency="true" allowfullscreen="true" allow="geolocation; microphone; camera" src="https://form.jotform.com/203424876258058?<?php print SID; ?>" frameborder="0" style=" min-width: 100%; height:539px; border:none;" scrolling="no" > </iframe>

    Hope this helps.

    Do get back to us if you have any questions.

  • Anna_Kane
    Replied on December 10, 2020 at 4:17 AM

    Thanks, I'll take a read through and see if that helps.