Jump to content

Blank fields following a POST


murfitUK

Recommended Posts

I should know the answer but it's almost 6 in the morning and my brain has gone to sleep as should have been in bed hours ago.Got a radio group called "dialog" with options 1, 2, 3 and 4.Two text field inputs "text1" and "text2".Submit button called "Submit".If user chooses 1 then text1 must have some text in it. If text1 is blank jump out of any if statements and don't do anything else. Any text in text2 can be discarded and replaced with "blank".If user chooses 2 then text2 must have some text in it. If text2 is blank jump out of any if statements and don't do anything else. Any text in text1 can be discarded and replaced with "blank".If user chooses 3 or 4 then both text1 and text2 must have some text - if not don't do anything else.If all OK dialog, text1 and text2 will be fed into a mysql table (with the word "blank" if need be).If any of the required fields are empty, no data will be entered and the rest of the script will be executed as normal.I'm getting my ( and { and [ and ) and } and ] all mixed up - they all look the same as my eyes are tired!Any help gratefully received.

Link to comment
Share on other sites

I'm getting my ( and { and [ and ) and } and ] all mixed up - they all look the same as my eyes are tired!
Sounds like you need Bitstream Vera Sans Mono. Also good for I, 1, and l, and O and 0.http://www.bitstream.com/font_rendering/pr...fonts/vera.htmlhttp://ftp.gnome.org/pub/GNOME/sources/ttf...ream-vera/1.10/
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...