I have two forms.
StudentForm which has a Field called LessonsPaid which has the number of lessons a student has paid for.
and
VoucherForm which has a Field called VPaid which has the number of lessons on a voucher.
I have a form that loads up both forms above.
I want to:
1) add VPaid to LessonsPaid
2) Clear the VPaid field to 0
3) Save both forms (I can manage this part)
I suspect I will need to use PHP code in the Load JavaScript function in setup. Could someone please help me with the PHP code?
Thank you
StudentForm which has a Field called LessonsPaid which has the number of lessons a student has paid for.
and
VoucherForm which has a Field called VPaid which has the number of lessons on a voucher.
I have a form that loads up both forms above.
I want to:
1) add VPaid to LessonsPaid
2) Clear the VPaid field to 0
3) Save both forms (I can manage this part)
I suspect I will need to use PHP code in the Load JavaScript function in setup. Could someone please help me with the PHP code?
Thank you