Click to See Complete Forum and Search --> : Remote form


Atom290
12-11-2002, 02:55 AM
Hi all

Could you possibly tell me how to remotely clear down a form.

If the button is used within the form, then it is simple to set the type to ‘reset’, but my button is in another frame!

Have you got any clues, I have tried getting the object using getElementsByName, and then setting the object.reset() but this doesn’t want to work!!!!!!

Please help me!

Atom290
12-11-2002, 05:41 AM
The actuall problem is getting a link to an object in the frame

I can do the job by placing the code in the page I load up and then calling it from the other frame, but I want to know how to

oFrame=parent.mainView;

oForm=oFrame.forms('frmCustContact');

get something like that working

Atom290
12-11-2002, 06:03 AM
IVE DONE IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!