Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

this.resetForm Question

Status
Not open for further replies.

tklear

Programmer
Jan 16, 2003
37
US
I have an example of how to programatically reset certain specified fields in a javascript. However, I don't understand how they are deriving the name of the fields. Can someone please explain?

var fields = new Array(2);
fields[0] = "P1.OrderForm.Description";
fields[1] = "P1.OrderForm.Qty";
this.resetForm(fields);

I know how to get the page number (P1.) but I don't know how to find the name of my template (OrderForm. in this example).

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top