In my contact form i would recieve php echo off in a field. At this moment I had a script in the form page like this:
<script type=”text/javascript”> //<![CDATA[
document.getElementById(“avia_artikel_1”).value = “[php]echo $_GET[‘artikel-id’];[/php]”;
// ]]></script>
Unfortannuly is after the update from the theme enfold this not possible. Please follow hidden link to see wat now is in the field.
Can anyone help me?
Kind regards.
Hey dekoff!
I’m sorry but I don’t understand. Your javascript is going to change the value of one of the form elements to “[php]echo $_GET[‘artikel-id’];[/php]” and when I view your link that is exactly what’s happening.
Are you embedding that script in a theme file and the PHP is not getting run? Your probably wanting something like this then.
document.getElementById(“avia_artikel_1″).value = “<?php echo $_GET[‘artikel-id’];?>”;
Regards,
Elliott