English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

what i means is, user only can submit form only if the time set for submitting the form is still enable. i hope u guys can help me for this problem..tq..=P

2007-03-12 18:28:22 · 2 answers · asked by Lullaby 1 in Computers & Internet Programming & Design

can u give a full details??in coding as well...tq..

2007-03-15 21:25:38 · update #1

2 answers

One option is
use javascript timer. When alarm is fired, just disable the submit button.
Other option is when timer is fired, set a form field with some true/false value. And on other page, first check the value of that field. If it has the correct value, then mover further, otherwise, redirect the user to the form page.

2007-03-13 01:15:22 · answer #1 · answered by Atif Majid 3 · 0 0

My advice is to not use JavaScript. If somebody has disabled JavaScript in his/her browser, your timer won't paintings. the best physique of techniques is to apply Hypertext Preprocessor to validate the time. whilst person submits the form, on the subsequent Hypertext Preprocessor script the place u r putting archives into db, first verify if the time is interior the barriers. no count if this is, insert archives into db otherwise, redirect person to a pair different website informing that the time is over.

2016-12-18 12:17:40 · answer #2 · answered by ? 4 · 0 0

fedest.com, questions and answers