Link to home
Start Free TrialLog in
Avatar of Sam Sung
Sam SungFlag for Denmark

asked on

edit formail from submit buttion to radio buttons

Dear experts,

I have this code and i need to edit the code, so i have
two radio buttons and a submit button instead of to submit button which either subscribes to my news letter or remove the person.. can someone help me out ..

<input type="text" id="email" name="email" value="your@email.com"  class="style14" size="25" /><br />
<input type="submit" id="subscribe" name="signUp" value="Signup" />
  <input type="Unsubscribe" id="Remove" name="signDown" value="Signout" />

Open in new window

Avatar of rajvja
rajvja
Flag of United Kingdom of Great Britain and Northern Ireland image

<input type="text" id="email" name="email" value="your@email.com"  class="style14" size="25" /><br />
<input type="radio" id="radSub" name="radSub" value="Signup">Subscribe</input>
<input type="radio" id="radSub" name="radSub" value="Signout">Unsubscribe</input>
Avatar of Sam Sung

ASKER

sorry i didnt elaborate my self properly ..

 these two radio buttons should work as submit buttons ,,

so when a person type email id and click on one of the radio btn, it should submit the form
ASKER CERTIFIED SOLUTION
Avatar of Ovunc Tukenmez
Ovunc Tukenmez
Flag of Türkiye image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
perfekt ;) thankyou guys..
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thankyou guys, works charming :D
You're welcome.