Doesn’t work when appended to a form url
-
I am using this currently to return the email address of logged-in users in a form field:
<iframe id=”JotFormIFrame-70254644192152″ onload=”window.parent.scrollTo(0,0)” allowtransparency=”true” src=”https://form.jotform.com/70254644192152?email=%5Binsert_php%5D global $current_user; get_currentuserinfo(); echo $current_user->user_email;[/insert_php]” frameborder=”0″ style=”width:100%; height:909px; border:none;” scrolling=”no”> </iframe>I tried replacing this with a snippet (the new way):
<iframe id=”JotFormIFrame-70254644192152″ onload=”window.parent.scrollTo(0,0)” allowtransparency=”true” src=”https://form.jotform.com/70254644192152?email=%5Bwbcr_php_snippet id=”48958″]” frameborder=”0″ style=”width:100%; height:909px; border:none;” scrolling=”no”> </iframe>This results in the email field being populated with [wbcr_php_snippet id=
The snippet contains this code: global $current_user; get_currentuserinfo(); echo $current_user->user_email;
Any suggestions?
The page I need help with: [log in to see the link]
- The topic ‘Doesn’t work when appended to a form url’ is closed to new replies.