How do I go to new form after using deluge button?
I have
(Form1) - [Report1]
(Form2) - [Report2]
I have created a button which appears on [Report1] which creates a new record for [Form2] using data from [Form1]. I have the script working well, it pulls the needed information from Form1 and builds a new record on Form2. What I would like to know is, how can I automatically go to the new form? As it is now, I click the button and the "thinking" icon pops up and then goes away to show that a new record has been created. I then have to go to Report2 and search for what I just created in order to edit the information. Is there a way to click the button on Report1 and then (see new record on Report2 or Form2)?
Also, using deluge script, what is the code to insert today's date into a date field? Below is and example of what I'm working with:
- newRecordID = insert into Form_2
[
Field1=input.FORM1_FIELD_1
Field2=input.FORM1_FIELD_2
Field3=input.FORM1_FIELD_3
DATE="01-01-01"
Added_User=zoho.loginuser
];