I’ve downloaded and implement autofill for my form using the following code which has been added to eform.inc.php:
$tpl = str_replace(’</textarea>’,$_GET[’coursetitle’]."</textarea>",$tpl);
$validFormId = ($formid==$_POST[’formid’]);
This only fills in the textarea on my form - I have two textareas and neither do not to autofill these areas. What I want to fill is the following:
<label class="label" for="Course">Title of course: (if known)</label>
<input id="coursetitle" name="coursetitle" type="text" value=""/>
The link comes from the following:
<a href="[~55~]&coursetitle=[+title+] [+longtitle+]">Book Course</a></p>
which adds the necessary info into the url but I can’t seem to get this go anywhere other than into the textarea - any advice...?
Very frustrated - so close but yet so far....