sulzener
asked on
Simple Javascript to Validate Form Data against Session Data
I am new to javascript. Can someone help me finish this? I need some logic that will check a Form Variable a against a Session variable and then make sure that a Followup date was entered!
I do not know how to finish this logic:
function verifySubmit()
{
if (document.forms.DetailMain .FollowupP erson.valu e ==
THE SESSION USER)
FORCE ENTRY OF A FOLLOWUPDATE
}
I do not know how to finish this logic:
function verifySubmit()
{
if (document.forms.DetailMain
THE SESSION USER)
FORCE ENTRY OF A FOLLOWUPDATE
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<cflock scope="session" type="readonly" timeout="10">
function verifySubmit()
{
if (document.forms.DetailMain
do whatever
}
}
</cflock>
CJ