Thanks Dan. I got it all figured out once you mentioned server side. Sometimes just need to talk to someone to spark the ol' brain cells.
Javascript enabling is not a problem. The clients are a captive audience, so we can make sure all the machines have javascript enabled. Thanks for the...
Hey Dan- think I may have it! I figured out that document.write will write input boxes to the HTML form, so I cna pull the values out of the array into hidden fields and re-submit it server side. The second form should open in the same child window, so it will look like a single pop-up...
Haven't given a lot of thought to that to tell you the truth. It needs to be a pop-up window so it allows the first window to stay open. The only reason for the pop-up window is so they can manipulate the form in MS Word (save it to disk, print it, etc.).We've always used window.open to open...
Dan,
That's my problem. Admittedly, I'm not real experienced with javascript and so I don't know how to reference the array to pull them out. I found the code for passing them to the child window and printing them on screen, but I don't know how to pull them.
Here's the code that passes it...
I have a VBScript function that changes single quotes to a tic mark(`) and double quotes to a double tic(``) if that would help....
Let me know and I'll post it if you want it.
How can I pass inputs using window.open from a parent to a child window without using the querystring? I need to pass them to the child window and then get them back into VBScript(or at least HTML), so I can reprint the form in the child.
I can get them passed into an array in the child...
Well- here's a way to do it in VBScript- the page submits to itself and totals the score based on their answers. You can write the total anywhere in the page once you have it. Your radio buttons need to be in groups, each button in the group with a different value, but the same name:
<%@...
HA HA! FOUND IT!!!
I used this syntax to create and concatenate the sql statement:
sql="Insert into tblClient(Last_Name,First_Name,MI,Date_Admitted,DOB,SSAN,DOU,Legal) values "&chr(13)
sql=sql&"('"&strLastName&"','"&strFirstName&"','"&strMI&"','"&strAdDate&"','"&strDOBDate&"','"&chr(13)...
I don't know Jeff. Again I think it may be somehow taking place during the Insert sequence, because I pass the value to another page and it doesn't show up when I response.write the variable or the sql statement. by the way- I even do a trim when I set the variable...
Dan- if I knew I could fix it. Only thing I can think of is maybe an object of some sort- its just a box that shows up in front of the number when it is inserted in the field. And actually it shows up DURING the insert. I did a response.write on the sql statement and it is not there. (dang- I...
I've got a problem using javascript in the onBlur for a social security number input. The javascript function I am using is as follows:
function checkSSN() {
var SSN = document.getElementById('SSN');
var nums = SSN.value.replace(/[^0-9]/ig, '');
if (!nums) {
return;
}
if (nums.length ==...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.