Auto populate subform row field

Auto populate subform row field

Hi there!

I am having trouble working out how to write script to auto-populate a field in a subform based on the input of another field in that subform. I wrote the below script but it only seems to be applying to the first row I add to the subform and doesnt apply to any that I add after that.

input.Attendee_List.Age = yearsBetween(input.Attendee_List.DOB,today);



          Zoho TeamInbox Resources

            Zoho DataPrep Resources


                Zoho CRM Plus Resources

                  Zoho Books Resources


                    Zoho Subscriptions Resources

                      Zoho Desk Resources

                        Zoho Projects Resources


                          Zoho Sprints Resources


                            Zoho Orchestly Resources


                              Zoho Creator Resources


                                Zoho WorkDrive Resources




                                    Zoho Campaigns Resources

                                      Zoho CRM Resources

                                                    Design. Discuss. Deliver.

                                                    Create visually engaging stories with Zoho Show.

                                                    Get Started Now


                                                      Zoho Show Resources


                                                        Zoho Writer Writer

                                                        Get Started. Write Away!

                                                        Writer is a powerful online word processor, designed for collaborative work.

                                                                  有料プランをご利用の方