I have a page to isnert new user information. I originally used and insert, and yaromat's check form behaviour, and it worked perfectly (yaromat fires from an onclick on the submit button).
I changed the insert to a stored procedure, and the problems began.
first problem, the page automatically runs the stored procedure when the page loads. I added <% If Request("Submit"
<> "" Then %> to stop it from submitting on load, and instead waiting for the submit button.
second problem, the solution to the first problem created the second problem. Now it submits fine from the submit button, but it also will subimt with blank fields, because the check form behaviour no longer works.
All I need is a way to trigger the stored procedure after yaromat runs. The insert thru dreamweaver loaded the hidden field with MM_insert as a name, and the form name as a value and then used <% If (CStr(Request("MM_insert"
) = "formname"
Then %> to trigger the insert. I have tried similar with no luck, but then again im really new to all of this.
thanks for any help
Ralph
I changed the insert to a stored procedure, and the problems began.
first problem, the page automatically runs the stored procedure when the page loads. I added <% If Request("Submit"
second problem, the solution to the first problem created the second problem. Now it submits fine from the submit button, but it also will subimt with blank fields, because the check form behaviour no longer works.
All I need is a way to trigger the stored procedure after yaromat runs. The insert thru dreamweaver loaded the hidden field with MM_insert as a name, and the form name as a value and then used <% If (CStr(Request("MM_insert"
thanks for any help
Ralph