Jump to content

milan

Recommended Posts

I have made a gender option in my form ,i want to select a rodio button one time i.e if there are two option of male and female and if i activate male than only one radio button get selected at a time....... can any one help me out <input type="radio" name="male"/>:Male <input type="radio" name="female"/>:Female

Link to comment
Share on other sites

  • 1 month later...

I think this will work for you, see the code and check the result. Its really good.<html><body> <form action="upload_file.php" method="post" enctype="multipart/form-data"><label>Filename:</label> //name of the file to be uploaded.<input type="file" name="file" id="file" /><input type="submit" name="submit" value="Submit" /></form> </body></html>

Edited by worrall
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...