Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Hiow do prevent form from sending blank fields?

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
rmmarsh Posted - 30 Mar 2010 : 20:47:32
I have a form with about 50 check boxes (it's a survey)... how do I prevent the .php submit from sending check boxes that are not checked? And empty text boxes?
3   L A T E S T    R E P L I E S    (Newest First)
rmmarsh Posted - 31 Mar 2010 : 18:06:09
Thanks Petran... I'll use Natemail...
petran Posted - 31 Mar 2010 : 10:37:15
You can do so by using a PHP script such as Natemail or Processform. Empty fields can be excluded of sending.
Just take a look here: http://www.mindpalette.com/scripts/index.php#NMAnchor
s.dav Posted - 31 Mar 2010 : 09:56:18
You simply cannot; this is the standard HTML form post action.
You can make a trick using javascript but IMO it is a bit complex and useless.

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000