Previous | Next | (P-PDF) Beginners
Topic: Re: Reset only one field (Via Email)
Conf: (P-PDF) Beginners, Msg: 23320
From: prodok
Date: 7/3/2001 11:22 AM
If it is only one single field (or very few ones, assign their
default value to them. The code snippet would look like this :
var f = this.getField("field_to_reset")
f.value = f.defaultValue ;
(Si ce n'est qu'un seul (ou quelque peu de) champs ?emettre, passe
sa valeur d?ult.)
Hope, this can help.
Max Wyss
PRODOK Engineering
Low Paper workflows, Smart documents, PDF forms
CH-8906 Bonstetten, Switzerland
Fax: +41 1 700 20 37
e-mail: mailto:max@prodok.com
http://www.prodok.com
[ Building Bridges for Information ]
______________________
>Hi, I'm not very good in english but I'll try to explain my problem.
>I want to know how to reset only a field in a list box with a
>condition like:
>
>if ((a.value == "2")&&(b.value == "TR"))
>{
> app."Avec une configuration de 2 essieux, choissiez CA,
>VO ou GR.","1")
> this.resetForm(b);
>}
> Thanks to help me!