We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20240
    • 14 Posts
    I have my eFeedBackForm and a value returned for me via snippet [[Formtourname]].
    However the value does not appear in my text type box if I use value="[[Formtourname]]"
    Even if I hard code it value="dumb" it does not fill the value in.
    The weird thing is I get the value returned in the <textarea> tags and just about anywhere else in the form!

    Any ideas will be appreciated...


    My form code (for now)

    <html>
    <head>
    <title>Contact</title>
    </head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <body>
    <b>[[Formtourname]]</b>
    <p><span style="color:#900;">[+validationmessage+]</span></p>
    <form method="post" action="[~[*id*]~]">
    <input type="hidden" name="formid" value="feedbackForm" />

    <table border="0" bordercolor="" bgcolor="" width="100%" cellspacing="5" cellpadding="1">


    <tr>
    <td valign="top" label accesskey="n" for="name">Name*</td>
    <td><input type="text" name="name" width = "200" eform="Missing name::1" /></td>


    <td valign="top" label accesskey="o" for="phoneno">Telephone No*</td>
    <td><input type="text" name="phoneno" width = "200" eform="Missing phone number::1" /></td>
    </tr>

    <tr>
    <td valign="top" label accesskey="s" for="surname">Surname</td>
    <td><input type="text" name="surname" width = "200" /></td>


    <td valign="top" label accesskey="f" for="fax">Fax No</td>
    <td><input type="text" name="fax" width = "200" /></td>
    </tr>

    <tr>
    <td valign="top" label accesskey="a" for="address">Address</td>
    <td><textarea width = "200" name="address"></textarea></td>


    <td valign="top" label accesskey="e" for="email">Email address</td>
    <td><input type="text" name="email" width = "200" /></td>
    </tr>

    <td valign="top" label accesskey="c" for="city">City</td>
    <td><input type="text" name="city" width = "200" /></td>

    <td valign="top" label accesskey="d" for="tourdate">Date of tour</td>
    <td><input type="text" name="tourdate" value="[[Formtourname]]" <!-- this is whats not working-->
    width = "200"/></td>
    </tr>

    <tr>
    <td valign="top" label accesskey="p" for="province">State/Province</td>
    <td><input type="text" name="province" width = "200"></td>

    <td valign="top" label accesskey="r" for="tourname">Tour</td>
    <td><textarea name="tourname" width= "200" >[[Formtourname]]</textarea></td> <!-- this works but in textarea-->

    </tr>

    <tr>
    <td valign="top" label accesskey="y" for="country">Country</td>
    <td><input type="text" name="country" width = "200" /></td>

    <td valign="top" label accesskey="b" for="noppl">Number of people</td>
    <td><input type="text" name="noppl" width = "200" /></td>
    </tr>

    <tr>
    <td valign="top" label accesskey="t" for="postalcode">Postal Code</td>
    <td><input type="text" name="postalcode" width = "200"/></td>

    <td valign="top" label accesskey="t" for="comments">Comments</td>
    <td><textarea width = "200" name="comments"></textarea></td>
    </tr>

    <tr>
    <td></td><td></td><td></td><td style="font-family: Verdana, Arial, Helvetica, sans-serif" font-size="11px"
    valign="top" label accesskey="i" for="submit" align="middle"><input type="submit" name="submit" value="Submit"></td>
    </tr>

    </table>

    </form>
    </body>
    </html>