Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. toby1985

    PHP form validation for multiple radio buttons

    Hi Vacunita, I'm hoping to find a way to insert Username into the email's "From" field... needs some looking into. You said: I did the "Username" verification code before I came here with the 'just one input' problem :) The form doesn't process without it. Here's the code I've used...
  2. toby1985

    PHP form validation for multiple radio buttons

    Hi Vacunita, some bad news and some very GOOD news :) ... first, let me address your points: a) IF the host is overriding the "From" field, is it possible to get around this? b) $_POST['Username'] can never be an empty field (it's mandatory). c) I've checked again, and the caps/l-cases match...
  3. toby1985

    PHP form validation for multiple radio buttons

    Hi Vacunita, that's great! Many thanks for solving the "msg" issue. It all makes sense now :) Also thanks for the code and explanations re. the index notice, I see what you mean. I've come across the isset() function on other boards, etc, but haven't used it yet. Was sure it was something to do...
  4. toby1985

    PHP form validation for multiple radio buttons

    Hi Vacunita, thanks for the reply. Basically, the form should be submitted + processed even if only ONE radio button has been checked. Likewise, the user can enter a comment into just ONE text field, not selecting any radios, the point being that the PHP script should never accept a 'blank'...
  5. toby1985

    PHP form validation for multiple radio buttons

    Hi Preachie, thanks for the quick response! I'm such a novice at PHP... hopefully I'll pick it up as I go along :) OK, I've changed the || to && in the 'if' statement, but am probably still very far from a solution. Re. the mail function, I suppose I should define $subject as $subject =...
  6. toby1985

    PHP form validation for multiple radio buttons

    Hello, I'm new to PHP and am having problems getting PHP to validate a HTML form that contains multiple radio buttons and text fields. Basically, the form has 7 sections, each pertaining to an MP3 track. In each section the user has to select one of four radio buttons (poor, average, good...

Part and Inventory Search

Back
Top