Re: [PHPLIB] OOHFORM image input field From: Bryan McGuire (joefriday <email protected>)
Date: 12/14/99

php renames "submit.x" and "submit.y" to "submit_x" and "submit_y"
It's documented some obscure place in the php manual.
----- Original Message -----
From: Pibbles <archiver <email protected>>
To: <phplib <email protected>>
Sent: Monday, December 13, 1999 7:21 PM
Subject: [PHPLIB] OOHFORM image input field

> This message was sent from Geocrawler.com by "Pibbles"
<pfmartin <email protected>>
> Be sure to reply to that address.
>
> I figured out how to make the submit element an
> image by doing the following:
>
> ...->add_element(array(
> "name"=>"submit",
> "type"=>"submit",
> "value"=>"Submit",
> "src"=>"/images/submit.gif"
> )
> );
>
> The problem is that I cannot catch the result of
> the press in the form processing page. I would
> like to say:
>
> if ($submit) ...
>
> It seems that this element is not being sent when
> it is an image. I know that in HTML the form
> would send submit.x and submit.y to the server,
> but I have no idea how OOHFORMS handles this.
>
> Any suggestions?
>
> Thanks,
> P
>
>
> Geocrawler.com - The Knowledge Archive
> -
> PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
> To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
> the body, not the subject, of your message.

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.