Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
zem_contact
I am using the zem_contact plugin to create a contact form. I would lie to use a combo box with different subjects for the user to select and then that to determin who the email is sent to and the subject of the email.
Is this possible??? If so can someone suggest how please???
Many thanks and kind regards
Chris Mann
I attach the current code:
<div class=“theform”> <
txp:zem_contact to=“xyz@ndmtennis.co.uk , abc@ndmtennis.co.uk” copysender=“yes” subject=“Enquiry from NMT Coaching Services Website”>
<p><txp:zem_contact_text label=“Your name” size=“40” /></p>
<p><txp:zem_contact_email size=“50” /></p>
<p><txp:zem_contact_text label=“Contact telephone number” size=“40” /></p>
<p> <txp:zem_contact_select label=“Topic” list=”,Group Coaching Maidenhead LTC,Group Coaching
Burnham TA,Summer Holiday Tennis Camps,Mini Tennis Coaching at local primary schools,Club Futures Squads,Individual Coaching,Racket Repairs and Sales,Membership MLTC,Membership
BTA, Technical Support” /> </p>
<p><txp:zem_contact_textarea label=“Message” rows=“10” cols=“50” /></p>
<p><txp:zem_contact_serverinfo name=“REMOTE_ADDR” label=“IP” /> <txp:zem_contact_submit label=“Send” />
</p>
</txp:zem_contact> </div>
</div>
Offline
Re: zem_contact
Use zem_contact_reborn instead, in the plugin help (on the plugins tab) you’ll find an example that resembles what you’re trying to do (perhaps even exactly what you want).
Offline
Re: zem_contact
Thanks for your reply
not quite sure where all they have done is used a combo box and written the department names in.
I would like to further that and route the value selected in the combo box to an email address for each department
Any ideas?
Offline
Re: zem_contact
I was referring to this example in the plugin help, which does exactly that.
Offline
Re: zem_contact
thank you ever so much its now working perfectly!!!
just now got to edit the style of the form
Offline
Re: zem_contact
have you got any ideas how i can remove the border and the title contact from the form?
http://www.ndmtennis.co.uk/contact-us/
Offline
Re: zem_contact
Your website is down (database unavailable), but you can probably do that by setting the label attribute to an empty string for the zem_contact tag.
Offline
Re: zem_contact
why does it do that – database unavailable???
im really struggling to format this contact form
do i do it in the css?
I particularly want to remove the word contact, get rid of the border and make the response boxes the same width
is there any advice you can give me?
http://www.ndmtennis.co.uk/contact-us/
Offline
Re: zem_contact
Styling can be done with CSS.
Removing the border and label is done by setting label=""
in the zem_contact tag.
Database unavailable is not related to this plugin.
Offline
Re: zem_contact
any advice on how to actually style it?
Offline
Re: zem_contact
See the plugin help for advice on what to use for styling.
You can find various CSS tutorials online. If you want fixed width, you can set width
for the desired elements in CSS.
Offline
Re: zem_contact
Is there any way of removing the label next to a field?
is there anyway of adding additional text to the email that is generated as well as customising the email sent?
Offline