Skip to Content
0
Former Member
Dec 06, 2006 at 02:58 PM

Form Values to Child Window Best Practices

41 Views

Hello,

I've replaced one of the standard IC Web client views with my own and need to perform some form validation prior to submitting the form. The validation needs use a child window. The child window will be a BSP program. I know how to use the onclientclick event to trigger a javascript function call, and how to open the window using window.open. What I don't know is the best method for moving the form values to the child window. I've thought about passing the values on the URL to the child window and I can do that easy enough. One concern I have about this is whether or not Unicode data will pass correctly. Another method I've considered is creatinga javascript function on the parent window which would be invoked from the child to retrieve the form values. This method seems pretty straight forward, but I was wondering if anyone has come with a better one.

Thank you for your consideration. I promise to reward good suggestions with points.

Have a good day,

John