Hello All:
I am not very familiar with webspeed. Here is what I am up against. Please help me.
I have an Html page. I have the following code on the page.
FORM NAME=body method=post
INPUT TYPE=hidden NAME=h_seq_no VALUE=pcnIRHqjNZcglbkl,75243
INPUT TYPE=hidden NAME=w_callprog VALUE=oexxx200
INPUT TYPE=hidden NAME=w_part VALUE=PTAC09B208-R
INPUT TYPE=hidden NAME=w_line VALUE=1
INPUT TYPE=hidden NAME=w_ordid VALUE=
INPUT TYPE=hidden NAME=w_sOption VALUE=
INPUT TYPE=hidden NAME=w_apply_all VALUE=YES
.................................etc......etc
I have few fields like part number, serial number etc on the page. In the page I also have check boxes named “P01”, “P02” etc and a continue button.
When the user presses the continue button, I go through the entire page to verify if there is any checkboxes are true. I assign the name of the checkboxes to w_sOption in a comma separated values. Now, I want to take the value of w_sOption into a progress variable.
I tried using the get-value(w_sOption) and it does not seems to work. I put the get-value(w_sOption) in the process-web-request procedure right underneath where I verify “If l-button = “Continue”. The value comes up blank. The request method is Post.
The Page has two forms. The continue button is on the frmbottom. When I display value of sOption using alert function in my javascript, it does show me the value, because the w_sOption is defined as a variable higher up in the html. So, I am thinking the variable w_sOption should be a global variable which will contain the value through out the page and in this session.
After the continue button is pressed, the control transfers to another page with Order line information.
Can someone please tell me what I am doing wrong and how I can make this work. I would greatly appreciate your help.
Thanks
Laxmi
I am not very familiar with webspeed. Here is what I am up against. Please help me.
I have an Html page. I have the following code on the page.
FORM NAME=body method=post
INPUT TYPE=hidden NAME=h_seq_no VALUE=pcnIRHqjNZcglbkl,75243
INPUT TYPE=hidden NAME=w_callprog VALUE=oexxx200
INPUT TYPE=hidden NAME=w_part VALUE=PTAC09B208-R
INPUT TYPE=hidden NAME=w_line VALUE=1
INPUT TYPE=hidden NAME=w_ordid VALUE=
INPUT TYPE=hidden NAME=w_sOption VALUE=
INPUT TYPE=hidden NAME=w_apply_all VALUE=YES
.................................etc......etc
I have few fields like part number, serial number etc on the page. In the page I also have check boxes named “P01”, “P02” etc and a continue button.
When the user presses the continue button, I go through the entire page to verify if there is any checkboxes are true. I assign the name of the checkboxes to w_sOption in a comma separated values. Now, I want to take the value of w_sOption into a progress variable.
I tried using the get-value(w_sOption) and it does not seems to work. I put the get-value(w_sOption) in the process-web-request procedure right underneath where I verify “If l-button = “Continue”. The value comes up blank. The request method is Post.
The Page has two forms. The continue button is on the frmbottom. When I display value of sOption using alert function in my javascript, it does show me the value, because the w_sOption is defined as a variable higher up in the html. So, I am thinking the variable w_sOption should be a global variable which will contain the value through out the page and in this session.
After the continue button is pressed, the control transfers to another page with Order line information.
Can someone please tell me what I am doing wrong and how I can make this work. I would greatly appreciate your help.
Thanks
Laxmi