Login  
Search All Forums
Dart Home | PowerTCP WebServer for ActiveX | Custom Development Reply | PowerTCP WebServer for ActiveX Topics | Forums   
AuthorForum: PowerTCP WebServer for ActiveX
Topic: Problem with checkboxes in html pages and webserver's GET event
gauri

From: alabama, AL USA
Posts: 1
Member Since: 07/13/04
posted July 13, 2004 5:15 AM

I am using webserver control in my VB 6 project.I am able to retrieve all data in my html page I used except the data relating to checkboxes and select tag with multiple option.Though I solved it using two hidden variables to store the checkbox and select control values in the form submit function, how to retrieve these controls values directly using syntax like:request.variables.item("checkbox")-the same which we use for textboxes.Is there any other specific syntax for retreiving checkbox and select control values?
2.I occured a problem with webserver's GET event.This event is firing more than once for a page which we are seeing.Though I checked the conditions using request.filename can I avoid this event firing more than once when a html page is loading.i.e.When I don't want a link to fire, how to restrict it, because when I click on that link it is giving 404 error, since I am not checking that particular filename in GET event.It will be a problem for me to check all the links.how to fire the GET event only when I click on a link which is having filename checking in the GET event?
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted July 13, 2004 1:42 PM

Hi,

1. Is there a name associated with the checkbox?
For example, with the following form input element:

<input type="Checkbox" name="Checky">

You would specify "Checky" when examining the variables.

2. If the client sends a GET request the event is going to fire. Are you saying the event fires twice for a single GET request? 
If not, you will have to add code in the event to handle all requests coming in.

-ken
Reply | PowerTCP WebServer for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX