This is a discussion on "FLASH - validating input fields if empty before clicking submit button" within the Flash & Multimedia Forum section. This forum, and the thread "FLASH - validating input fields if empty before clicking submit button are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
FLASH - validating input fields if empty before clicking submit button
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
FLASH - validating input fields if empty before clicking submit button
hi there..
i have a question about flash.. i'm using flash CS3 and i don't know if it really matters. here goes my question: whenever i run to test this on first instance(see below action script), the first statement is bypassed. it would still go to the "thank you.." frame, when all i wanted to do was to prevent the submit button to send a blank field (e.g company, contact, email & product) which is mandatory in my form to be filled-up. below is my code. // When the button is clicked and if any of the fields listed are empty display the message. on (release) { if (company eq "" || contact eq "" || email eq "" || product eq "") { message = "Please fill in all mandatory fields"; //otherwise process the form and go to frame 11 "thank you for your inquiry" } else { loadVariablesNum("process.php", 0, "POST"); gotoAndStop(11); if someone out there could help, it is much appreciated.. thanks! |
|
|
|
|||
|
Re: FLASH - validating input fields if empty before clicking submit button
This was happening with a few other people as well, we are still attempting to figure it out.
I'll keep looking for an answer.
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
|
|||
|
Quote:
Really? (i thought it was only me.. hehehe) But how come those people using flash in their websites doesn't have problems with their forms? But thanks anyways.. |
|
|||
|
Re: FLASH - validating input fields if empty before clicking submit button
That is what I am trying to figure out. I personally don't use flash contact forms in my stuff. :-)
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
![]() |
| Tags |
| validating |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Add class if input not empty on-the-fly | Aso | JavaScript Forum | 3 | Feb 28th, 2008 16:47 |
| Validating Input Text field | Mallik | Flash & Multimedia Forum | 1 | Jun 11th, 2007 14:44 |
| Cannot Submit Special Characters from Input Fields | sboot | ASP.NET Forum | 1 | Aug 30th, 2006 16:08 |
| passing search data to d/b via a hyperlink and without input fields | Colm Osiris | Databases | 5 | May 23rd, 2006 11:38 |
| Firefox 1.0.6 - strange input fields color | blankconcept | Web Page Design | 3 | May 9th, 2006 15:35 |