|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have multiple pages based on a template (using Dreamweaver MX). This template is split in two parts (div); a menu area and an info (main) area. Each area contains a form. In the menu area form I have different form elements which determine the content of the info area (e.g. a combobox controlling which page is loaded).
Two of these elements are text fields holding dates. I need to fill the info area with a table of N rows, where N is the numbers of days between the two dates. As far as I know, the page has to be submitted to the server with these date and generated serverside. What is the best approach when I want to display result on the same page which submits the dates? Palsam |
|
#2
|
|||
|
|||
|
two forms? strange. Javascript check to see when both text boxes.value.length > 0. All you have to do is write the function that checks that both of these text inputs are not length > 0 and then when they're both true then onchange="document.myform.submit()"
do you need help with the query and all that too? |
|
#3
|
|||
|
|||
|
Thanks for the reply. I think I'll manage the JavaScript function. I'll let you know if it works out together with the rest of the changes i'm implementing in a few days time (other pressing matters...)
Palsam |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Multiple forms: how to reach variables on other form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|