PDA

View Full Version : Customizing fields on the contact form



scrivo
02-18-10, 04:41 AM
Hi
I tried to do a really fancy ajax contact form with captcha, etc. which worked fine on it own but had difficulties integrating it into WHMCS.
Ive managed to work what ive done into the standard contact.tpl file and everythings working.
the only problem is, i dont want a 'subject' field, is there any way to set the subject to the same thing everytime?
Because, right now if i simply remove the field, WHMCS says it wasnt filled in, etc. and the form cannot be sent.
Also is it possible to add extra fields?
thanks!

Josh

scrivo
02-21-10, 05:55 AM
so its not possible to do?

m00
02-21-10, 09:50 AM
You could change the field type of the subject field to hidden and fill in a subject there:

<input type="hidden" name="subject" value="your subject" />
(not the safest, but probably the only way for this)

I'm affraid you can't add any custom fields to the default contact form.

sequencehost
02-21-10, 06:43 PM
I'm affraid you can't add any custom fields to the default contact form.

That could be a good feature request actually. Many of our customers prefer to use the contact form rather than submitting a support ticket.

JofleyUK
02-22-10, 01:33 PM
There is a good workaround;

Setup a Support department called Presales Contact, make it that users dont have to login to it from the client area, then you can add your custom fields from the support department area. Link your contact us button to go to that directly and your clients wont know they are submitting a ticket until the have to click the......... hmmmm... submit ticket button. Well not a perfect work around but it would offer better trackable Contact Us requests.

Probably the worst post I have made for advice but there ya go!

sequencehost
02-22-10, 01:43 PM
There is a good workaround;

Setup a Support department called Presales Contact, make it that users dont have to login to it from the client area, then you can add your custom fields from the support department area. Link your contact us button to go to that directly and your clients wont know they are submitting a ticket until the have to click the......... hmmmm... submit ticket button. Well not a perfect work around but it would offer better trackable Contact Us requests.

Probably the worst post I have made for advice but there ya go!

It's actually very good advice. Simple but works.

Thanks for the tip

Jack

JofleyUK
02-22-10, 01:52 PM
It's actually very good advice. Simple but works.

Thanks for the tip

Jack

Phew, thanks :P

scrivo
02-22-10, 10:44 PM
Good work around advice, thanks fellas.