The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

contact form (PM redirect)

3 posters

Go down

contact form (PM redirect) Empty contact form (PM redirect)

Post by KingOfSports August 10th 2009, 12:38 am

Hello all,

I am making a contact form for points donations btwn members.

Is there a way to have a text box that only numbers are allowed to be put into? I don't want members typing in letters when asked how many points they want to be sent to the other member. [SOLVED]

Thanks in advance for your hlep!

Can I have the contact form forwarded to a member's PM box? I have the HTML, but I don't want it to be sent like the contact us. I would like it to be sent to 1 member who will take care of it.


Last edited by KingOfSports on August 20th 2009, 12:14 am; edited 2 times in total
KingOfSports
KingOfSports
Hyperactive

Male Posts : 2487
Reputation : 38
Language :
Location :

Back to top Go down

contact form (PM redirect) Empty Re: contact form (PM redirect)

Post by KingOfSports August 12th 2009, 4:24 pm

bump
KingOfSports
KingOfSports
Hyperactive

Male Posts : 2487
Reputation : 38
Language :
Location :

Back to top Go down

contact form (PM redirect) Empty Re: contact form (PM redirect)

Post by KingOfSports August 14th 2009, 1:01 am

is it even possible?
KingOfSports
KingOfSports
Hyperactive

Male Posts : 2487
Reputation : 38
Language :
Location :

Back to top Go down

contact form (PM redirect) Empty Re: contact form (PM redirect)

Post by Etana August 14th 2009, 2:07 pm

Hello,


For the first question, in the next version of html it will only need to put <input type="number"/> but it's not for now =)

To do it now you need to use javascript like that :

Code:
<input type="text" onKeyDown="if(event.keyCode){if(event.keyCode<58 && event.keyCode>47)this.value+=String.fromCharCode(event.keyCode);else if(event.keyCode<31)return true;return false; } else { if(event.wich>47 && event.wich<58)this.value+=String.fromCharCode(event.wich);else if(event.wich>31)return true;return false; }" value="0"/>
For sending pm that should be possible if you do a form like the one to send message.

But there should be javascript too to put the data in the form of just one message.

Cordially.
Etana
Etana
Forumember

Male Posts : 98
Reputation : 0
Language : French - English

http://kiniiri.forumactif.com/

Back to top Go down

contact form (PM redirect) Empty Re: contact form (PM redirect)

Post by KingOfSports August 14th 2009, 8:49 pm

Thank you very much for your help! Now I just need to figure out #2...
KingOfSports
KingOfSports
Hyperactive

Male Posts : 2487
Reputation : 38
Language :
Location :

Back to top Go down

contact form (PM redirect) Empty Re: contact form (PM redirect)

Post by KingOfSports August 15th 2009, 10:54 pm

bump

If anyone can give me help/advice on #2, it would be greatly appreciated.
KingOfSports
KingOfSports
Hyperactive

Male Posts : 2487
Reputation : 38
Language :
Location :

Back to top Go down

contact form (PM redirect) Empty Re: contact form (PM redirect)

Post by KingOfSports August 16th 2009, 11:45 pm

bump.
KingOfSports
KingOfSports
Hyperactive

Male Posts : 2487
Reputation : 38
Language :
Location :

Back to top Go down

contact form (PM redirect) Empty Re: contact form (PM redirect)

Post by KingOfSports August 20th 2009, 12:08 am

bump
KingOfSports
KingOfSports
Hyperactive

Male Posts : 2487
Reputation : 38
Language :
Location :

Back to top Go down

contact form (PM redirect) Empty Re: contact form (PM redirect)

Post by Rok August 20th 2009, 1:25 am

The 'Select' button from the form should be able to redirect you to a certain area.
Try going to JotForms and see what that can do for you.
Rok
Rok
Energetic

Male Posts : 6823
Reputation : 234
Language : idk

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum