Apologies if this seems like a stupid question, but I can’t easily figure out how to do this.
I’ve got the basic feedback form working as per the documentation example files.
Now I just want to add some extra fields for the user to fill in.
IE: Company Name
Website Address
I’ve looked at the documentation and trawled thru this forum, but I just can’t see any easy to understand explanation of how to do this.
Using modx 0.9.6.3
eform 1.4.4.5
Chunk
[+validationmessage+]
<form method="post" action="[~[*id*]~]">
<input type="hidden" name="formid" value="feedbackForm" />
<p><label accesskey="n" for="Name">Your Name</label>
<input type="text" name="Name" maxlength="60" eform="Your Name::1:Expected at least two words:#REGEX /^\w+\s\w+/i" /></p>
<p><label accesskey="e" for="email">Your Email Address</label>
<input type="text" name="email" size="40" maxlength="40" eform="Your Email Address:email:1" /></p>
<p><label accesskey="s" for="department">Subject</label>
<select name="department">
<option value="1">Free Asessment</option>
</select></p>
<p><label accesskey="c" for="comments">Comments</label>
<textarea cols="40" rows="10" name="comments" eform="Comments:html:1"></textarea></p>
<p>
Please enter the anti spam code below:<br />
<img src="[+verimageurl+]" alt="verification code" border="1"/>
</p>
<p>
<label accesskey="c" for="vericode">code</label>
<input type="text" name="vericode" size="20" />
</p>
<p><input type="submit" name="submit" value="Send Feedback"></p>
</form>
Call
Thanks in advance.