Jump to content

Customizing fields on the contact form


scrivo

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated