Jump to content

submitting form with the image field input


pwes24

Recommended Posts

<input type="submit" name="submit" src="..../>

 

Test to see if the form has been submitted by checking is $_POST['submit_x'] has a value. Image submits send the x and y co-ords of the point clicked relative to the top left of the image.

 

If that doesn't help, show us some form code.

hum... this seems more appropriate in the HTML section but,

 

try:

 

<input name="submit" type="image" value="submit" src="images/submit_bt.png" alt="submit message" onClick="document.[FORM_NAME].submit();" />

 

replace [FORM_NAME] with the name of your form in <form name="[FORM_NAME]"

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.