Opening a custom view with passed parameters from view list

Opening a custom view with passed parameters from view list

I am new to custom programming within ZoHo and am attempting to place an action (New Blank Form) into a form.  The form currently lists all open quotes.  This action will open a custom view called 'Quote_Review_and_APQP_Tracking' and display the previously selected rows data. 
 
I was able to place the Custom Action into the form that calls the function apqp.APQP_Window and it seemed to open the view but the view requires a potential ID to display correctly.
 
The following is the code in the apqp.APQP_Window function:
 
  1. void apqp.APQP_Window(int Potential_ID)
  2. {
  3.     curPotential = input.Potential_ID;
  4.     openUrl("#View:Quote_Review_and_APQP_Tracking", "Popup window", "height=100,width=100");
  5. }
I need to determine how to transfer the selected row ID to the custom view (Quote_Review_and_APQP_Tracking) and display in a popup window.
 
The following is the topmost portion of the custom view code:
 
  1. htmlpage Quote_Review_and_APQP_Tracking(potential_idstr)
  2. displayname = "Quote Review and APQP Tracking"
  3. pdf = true
  4. content
  5. %{
 
 
Right now when i click the custom action (New Blank Form) it opens the custom view but errors as it appears it is not transfering the ID.
 
Any help would be much appreciated.
 
Thanks