You logged in as Guest
Login:
Recent messages · Members · Forums rules · FAQ · SEARCH Registration · Log in

Page 1 of1
Forum moderator: Sunny 
UcoZ Community » UcoZ System management and tuning » E-mail Forms » Submit button!
Submit button!
GeniusDate: Sunday, 2008-04-13, 3:12 Am | Message # 1
Constant
Group: Checked
Messages: 115
Reputation: 2 [0%]
Status: Offline
Hey, I have a question. Is there any possibility to freeze the submit button in e-mail forms if you have already send it?

Code
<tr><td colspan="2" align="center"><br><input value="Submit" type="submit"></td></tr>

For example, once a week? So if you send in it will be inactive. happy


Take a deap breath..
 
VanofutureDate: Sunday, 2008-04-13, 10:23 Am | Message # 2
Regular
Group: Checked
Messages: 56
Reputation: 7 [2%]
Status: Offline
Cookies...

I'm from Russia, sorry for my english.
If I helped you give me a respect.
 
GeniusDate: Monday, 2008-04-14, 6:47 Am | Message # 3
Constant
Group: Checked
Messages: 115
Reputation: 2 [0%]
Status: Offline
Is this possible whit Ucoz?

Take a deap breath..
 
UcoZDate: Tuesday, 2008-04-15, 3:17 Am | Message # 4
UcoZ Admin
Group: Administrators
Messages: 112
Reputation: 10 [3%]
Status: Offline
Quote (Genius)
Is this possible whit Ucoz?

yes it is.

but you have to know JavaScript.

After successful submission the system starts undefined JS function "addSuccess()". You must create this function with any actions you need (e.g. set cookies). When email form is shown, you must start another JS script (after email form) and check the cookies existence.

It's very simple if you have some skills in JavaScript.

 
GeniusDate: Wednesday, 2008-04-16, 8:45 Am | Message # 5
Constant
Group: Checked
Messages: 115
Reputation: 2 [0%]
Status: Offline
Thank you. I think I probably will contact you because JS is not my strongest side.

Take a deap breath..

Message edited by Genius - Wednesday, 2008-04-16, 8:47 Am
 
UcoZ Community » UcoZ System management and tuning » E-mail Forms » Submit button!
Page 1 of1
Quick login form:
Search: