We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3866 ☆ A M B ☆
    • 350 Posts
    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+]&nbsp;[+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.... undecided
      Helen Warner
      Number one pixel!
      Proud to be linked with MODX at Crimson Pixel