Help passing a parameter to an HTML view with a view embedded

Help passing a parameter to an HTML view with a view embedded

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.

  1. form_link = input.Form + "_HTML";
  2. if (input.Search_Options  =  "Yesterdays Records")
  3. {
  4.     openUrl("https://creator.zoho.com/jpiajr/food-safety/view-perma/" + form_link + "/todays_date=" + input.Start_Date + "&Added_Time_op=58", "same window");
  5. }
  6. if (input.Search_Options  =  "Date Range")
  7. {
  8.     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");
  9. }
  10. if (input.Search_Options  =  "View All Records")
  11. {
  12.     openUrl("https://creator.zoho.com/jpiajr/food-safety/view-perma/" + form_link, "same window");
  13. }
  14. else
  15. {}

Here is the code to the HTML view that I am trying to pass the paramater to,

  1. htmlpage PKG_101_HTML()
  2. <%{%>
  3. <div elName='zc-component' viewLinkName='PKG_101_List' params='zc_Header=true&amp;zc_Footer=false&amp;zc_SecHeader=false&amp;zc_AddRec=false&amp;zc_EditRec=true&amp;zc_DelRec=false&amp;zc_DuplRec=false&amp;zc_EditBulkRec=false&amp;zc_Filter=false&amp;zc_Search=false&amp;zc_Paging=false&amp;zc_RecLimit=false&amp;zc_SumRow=false&amp;zc_ColMenu=false&amp;zc_Summary=false&amp;zc_RecSelect=false&amp;zc_SaveRec=false&amp;zc_RecPrint=false'>Loading View...</div> 
  4. <%}%>


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.