Jump to content


Photo

forms


  • Please log in to reply
2 replies to this topic

#1 somo

somo
  • Members
  • PipPipPip
  • Advanced Member
  • 31 posts

Posted 06 July 2006 - 10:13 AM

Hi,

I have got a php page that lets customer's details be entered in fields - i have used javascript to validate user's input. But i have one main form (to check certain fields are entered) and other sub forms in the page to validate user input (e.g. email and postcode) ... when the data is submitted to code that sends the data to the databse i get "Notice: Undefined index: email", "Notice: Undefined index: postcode etc.

Is there a way around this so that all sub forms can send the data they have all as one to mysql?

Many thanks, somo.

#2 Chips

Chips
  • Members
  • PipPipPip
  • Advanced Member
  • 68 posts

Posted 06 July 2006 - 10:27 AM

Posting your code woule be most beneficial to be honest, use the code tags (surrounded by square brackets, so {code} your code here {/code} but with square brackets).

#3 somo

somo
  • Members
  • PipPipPip
  • Advanced Member
  • 31 posts

Posted 06 July 2006 - 10:30 AM

i've sorted out the problem - ignore this  ;D




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users