[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Graphical button submit
From: |
Alexander J. Oss |
Subject: |
Re: Graphical button submit |
Date: |
Tue, 29 Jan 2002 22:25:44 -0500 |
Wouldn't you want to look for an element called "name.x" and "name.y", like
you would look for any other input element?
Cgicc newbie response... hope it helps.
----- Original Message -----
From: "Spiro Philopoulos" <address@hidden>
To: <address@hidden>
Sent: Tuesday, January 29, 2002 5:43 PM
Subject: Graphical button submit
> Hi. I'm using a graphical button for a submit form (<input type="image"
> name="" etc. . . >) and was wondering what Cgicc call to use to check
which
> submit button was pressed as the following code segment doesn't work:
>
> form_iterator submit_button=cgi.getElement("submit_whatever");
>
> if ( submit_button != cgi.getElements().end() ) {
> . . .
>
> From what I understand the submited data for a image submit button woud be
> name.x=the_x_cord and name.y=the_y_cord
> but I can't see which call I could use. Any info/help would be greatly
> appreciated. Thanks.
>
> _______________________________________________
> help-cgicc mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-cgicc