How to enter values for input arguments for my function in Page?
I'm creating app to record lessons and homework completion.
I wanted to copy schedule: on day 1 I want to copy lesson1, lesson2, lesson3 to day 2.
Function works fine, when I click "Execute", because it asks for arguments (from, to).
But when I assign this function to a button in Page (homepage), it gives me an error (because it doesn't even ask to input arguments).
void CopyDay(date copyFrom, date copyTo)
{
for each lesson in Schedule[Lesson_Date == copyFrom]
{
newLesson = insert into Schedule
[
Lesson_Date=copyTo
Taken_Lesson=lesson.Taken_Lesson
Added_User=zoho.loginuser
Completed="N/A"
Education_Quarter=lesson.Education_Quarter
];
}
}
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.