Open URL function and invoking "on user input"
I have a view with buttons next to each record. When you press the button, a form opens up and a couple lookup fields are populated. Then the "on user input" action are invoked and additional fields are populated. I made one change...instead of open "popup" now I open in "same window" and the "on user input actions are no longer invoked.
It appears that opening a "popup" and pre-populating fields will invoke "on user input" actions for those fields that are populated, however, when opening in "same window" or "parent window" the "on user input" actions are not performed. Is this correct behavior?
- void openform.addCAN(int vFNDID, int vCHKID)
- {
- vFet = Internal_Audit_Checklist [ID == input.vCHKID];
- openUrl("#Form:Corrective_Action_Notice?Audit_ID=" + vFet.Audit_Section_Title + "&Checklist_ID=" + input.vCHKID + "&FindingID=" + input.vFNDID, "Same window");
- }
- void openform.addCAN(int vFNDID, int vCHKID)
- {
- vFet = Internal_Audit_Checklist [ID == input.vCHKID];
- openUrl("#Form:Corrective_Action_Notice?Audit_ID=" + vFet.Audit_Section_Title + "&Checklist_ID=" + input.vCHKID + "&FindingID=" + input.vFNDID, "Popup window");
- }