Jump to content

Recommended Posts

How can I get this form to execute?  Do I need to use a hidden input or something?

 

<form action="partnerRequest.php" method="post">
<a href="" title="Become Associates" id="becomeassoc" class="mll">
	<span class="f_right">Become Associates</span><img src="../assets/img/becomeassoc.jpg" class="mrs vmiddle" alt="Become Associates" />
</a>
</form>

Link to comment
https://forums.phpfreaks.com/topic/233779-execute-form/
Share on other sites

The image method doesn't really seem to work for my need since the image is only a small icon next to the text, in which case many people will click on the text, not the icon. 

 

I have no idea how to do this via ajax?  Is that really the best alternative? 

Link to comment
https://forums.phpfreaks.com/topic/233779-execute-form/#findComment-1201888
Share on other sites

This what you're looking for?

 

 

<form action="partnerRequest.php" method="post">
  <input type="radio" name="becomeassoc" onClick="this.form.submit()"><span class="f_right">Become Associates</span><img src="../assets/img/becomeassoc.jpg" class="mrs vmiddle" alt="Become Associates" />
</form>

 

Doesn't have to be a radio button, could be a checkbox or whatever.

Link to comment
https://forums.phpfreaks.com/topic/233779-execute-form/#findComment-1201895
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.