2 forms: get records from form 2

Viewing 2 reply threads
  • Author
  • June 6, 2024 at 5:22 AM #50775

    Torsten Reim


    following assumption:

    I have two forms:

    form 1

    form 2

    I have a script in form 1 (not a script field). How can I get the records that are in form 2 from form 1 and display it in the console?

    I tried several days but I can not access the records in form 2.

    Regards from germany.

    June 6, 2024 at 8:52 AM #50776

    Daniel Leu

    This should to it: var form2_recs = document.getFormNamed('form 2').getRecords();

    June 11, 2024 at 12:43 AM #50785

    Torsten Reim

    Thank you very much.

    It works.

    Have a nice day!!

Viewing 2 reply threads

You must be logged in to reply to this topic.