Welcome visitor
* Login
* Register
It is currently January 18th, 2019, 7:37 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  fill hidden form
PostPosted: July 31st, 2009, 5:25 pm 

Posts: 57
heres what i want to do:

On my website there's this section where the user submits a form. For security reasons i want to have a fake form and then hidden the real form. The real form will be filled automatically at the same time with the information the user types in the fake one. But i dont know how to do it. Once i saw something like hiding inputs but i dont remember how to do it.

Please help me, i need this really bad.
Thanks ppl.


Top
 Profile  
 
  Re: fill hidden form
PostPosted: July 31st, 2009, 11:30 pm 
User avatar

Posts: 136
<input type="text" name="fake1" onkeyup="document.form.real1.value = document.form.fake1.value"
onkeypress="document.form.real1.value = document.form.fake1.value" />
<input type="hidden" name="real1" readonly="readonly" />


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron