Previous | Next | (P-PDF) Beginners
Topic: ResetForm()
Conf: (P-PDF) Beginners, Msg: 23395
From: lpetroni
Date: 7/4/2001 10:09 AM
Michael:
You may try this:
1. Define a array which indicates the form fields.
2. Use resetForm( ) and pass the array as the
argument.
name of your form = Myform
name of the field = Myfield
so:
var fields = new Array(1);
fields[1] = "Myform.Myfield"
this.resetForm(fields);
lpetroni
compasso arte design
>Hi, please someone knows how
>to reset only one field???How
>use the parameter for reset
>only a field? What is the
>syntax for "resetForm()"? My
>field to reset is a list box,
>when i have a text box i use
>event.value = " " but in a
>list box it's doesn't work!
>
>Michel
lpetroni
compasso arte design