Hi all,
We have developed a web site that includes a order-entry form (called the "detail" form) for data entry. Part of the form requires the user to select a product and to do that, we link out to another web page triggered by the "detail" form using javascript "window.open". The "detail" form remains on the iPhone/iTouch and Safari opens another window.
At that other web page (we call the "list" form"), the user selects some criteria and performs a lookup that fetches data from a database. The lookup then displays about 20 records on the "list" form and the user is required to select one of them by clicking an icon adjacent to the item.
That action results in javascript writing back into window.opener (on the "detail" form) and closes the "list" form.
The problem: sometimes the data being written back into window.opener does so perfectly and the "detail" form redisplays.
However, in the vast majority of cases, the "detail" form refreshes itself resulting in all the data that was entered by the user vanishing. The user has to start again...
Has anyone experienced problems like this? Do you have a solution to this problem or do you have any suggestions that would help us get by this problem?
Please note we absolutely must open the "list"window. There is no option to do this function inside the "detail" form.
TIA,
FredD
We have developed a web site that includes a order-entry form (called the "detail" form) for data entry. Part of the form requires the user to select a product and to do that, we link out to another web page triggered by the "detail" form using javascript "window.open". The "detail" form remains on the iPhone/iTouch and Safari opens another window.
At that other web page (we call the "list" form"), the user selects some criteria and performs a lookup that fetches data from a database. The lookup then displays about 20 records on the "list" form and the user is required to select one of them by clicking an icon adjacent to the item.
That action results in javascript writing back into window.opener (on the "detail" form) and closes the "list" form.
The problem: sometimes the data being written back into window.opener does so perfectly and the "detail" form redisplays.
However, in the vast majority of cases, the "detail" form refreshes itself resulting in all the data that was entered by the user vanishing. The user has to start again...
Has anyone experienced problems like this? Do you have a solution to this problem or do you have any suggestions that would help us get by this problem?
Please note we absolutely must open the "list"window. There is no option to do this function inside the "detail" form.
TIA,
FredD