I want to pass a paramater to a view that is embedded in a HTML view.
Below is the code for the "on submit" action from the form in which I wish to pass the paramater from.
- form_link = input.Form + "_HTML";
- if (input.Search_Options = "Yesterdays Records")
- {
- openUrl("https://creator.zoho.com/jpiajr/food-safety/view-perma/" + form_link + "/todays_date=" + input.Start_Date + "&Added_Time_op=58", "same window");
- }
- if (input.Search_Options = "Date Range")
- {
- openUrl("https://creator.zoho.com/jpiajr/food-safety/view-perma/" + form_link + "/todays_date=" + input.Start_Date + ";" + input.End_Date + "&todays_date_op=58", "same window");
- }
- if (input.Search_Options = "View All Records")
- {
- openUrl("https://creator.zoho.com/jpiajr/food-safety/view-perma/" + form_link, "same window");
- }
- else
- {}
Here is the code to the HTML view that I am trying to pass the paramater to,
- htmlpage PKG_101_HTML()
- <%{%>
- <div elName='zc-component' viewLinkName='PKG_101_List' params='zc_Header=true&zc_Footer=false&zc_SecHeader=false&zc_AddRec=false&zc_EditRec=true&zc_DelRec=false&zc_DuplRec=false&zc_EditBulkRec=false&zc_Filter=false&zc_Search=false&zc_Paging=false&zc_RecLimit=false&zc_SumRow=false&zc_ColMenu=false&zc_Summary=false&zc_RecSelect=false&zc_SaveRec=false&zc_RecPrint=false'>Loading View...</div>
- <%}%>
This seems like ti is in a simple task, I just need some help getting through it the first time.
Thank you in advanced for your help.