paulgami
08-23-2006, 04:38 PM
I've built a multipage form using QuickForm_Controller. It has 5 pages, plus a final confirmation page, not too dissimilar to a shopping cart's checkout functionality.
If I'm on page3 and want to reference a particular field on that page in javascript I use:page3.fieldname.value and it works just fine.
Is it possible to reference fields on other pages? When I try to reference an item on page2 from page3, for example, I get this error:
Error: page2 is not defined
Source File: http://testbox/formtest.php?_qf_page3_display=true
Line: 1
If I'm on page3 and want to reference a particular field on that page in javascript I use:page3.fieldname.value and it works just fine.
Is it possible to reference fields on other pages? When I try to reference an item on page2 from page3, for example, I get this error:
Error: page2 is not defined
Source File: http://testbox/formtest.php?_qf_page3_display=true
Line: 1