Hi Jim,

The type="image" attribute for a form just creates a visual element that, when clicked on, triggers the form action.

The snippet of HTML below doesn't include the outer <form> element, or more importantly its action="xxx" attribute, but that's what you want to look for.

-- Ken

On Mar 4, 2010, at 4:55am, Langston, James wrote:

Hi all,

After tons of look up - I haven't been able to find a good example of
being able
to correctly respond to a login form that is using an type="image"  to
initiate the login
process. The fields in the html are:

<td>
        
Username:<br>
                                                            <input
type="text" size="30" maxlength="60" name="username"><br>
        
Password:<br>
                                                            <input
type="password" size="30" maxlength="60" name="pwd">&nbsp;
                                                            <input
type="image" src="images/buttons/submit_gray.gif
<view-source:http://www.gomeznetworks.com/images/buttons/submit_gray.gif
" name="login" align="absmiddle">

                                                            <input
type="hidden" name="server_string" value="">
                                                            <input
type="hidden" name="url_string" value="">
                                                            <input
type="hidden" name="query_string" value="">
                                                            <input
type="hidden" name="form_string" value="">
                                                    </td>

and I need to respond to username, password and login. I do not
understand how to create the NameValuePair to respond to the
image in order to submit the login and move to the next page in the
sequence.

Any thoughts, hints ?

Thanks,

Jim

//////////////////////////////////////////



Jim Langston
Technical Consultant
[email protected]

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.


--------------------------------------------
Ken Krugler
+1 530-210-6378
http://bixolabs.com
e l a s t i c   w e b   m i n i n g





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to