Top draw I got there in the end. Thank you.
var radIndex;
var INOUTIndex = 2;
for (radIndex = 0; radIndex < document.HTML_F ORM.Movement_IN OUT.length; radIndex++)
{
if (document.HTML_ FORM.Movement_I NOUT[radIndex].checked == false)
errorMsg += "Please Select In or Out on your Movment\n";
{
INOUTIndex = radIndex;
break;
}
}
User Profile
Collapse
-
-
Code Direction for radio button error check
Hi Guys,
I know to error check a drop down field called "Reason" i would use.
if (document.HTML_ FORM.Reason.opt ions[0].selected == 1)
errorMsg += "The field Reason is mandatory and has been left blank\n";
and I know to check a text field I would use,
if (!(document.HTM L_FORM.Reason.v alue))
errorMsg += "The field Reason is mandatory and has been left... -
Hi Many thnaks for this.
Do you have some Java Code that I can use?
I do not need to clear out the old field name as I want the data in both fields.
JohnLeave a comment:
-
HTML Code Help. Input Fields
Hi Guys,
New to all this. Need your help.
I am working on a form. I have some input text fields, however I want to pass the value of one of these text fields to a hidden field.
So lets say I have a field in the form called OLDFIELD. I want to pass the value from OLDFIELD to NEWFIELD.
so my code may look like
<input type = "hidden" name = "NEWFIELD"...
No activity results to display
Show More
Leave a comment: