I am trying to integrate the web client into an existing site and have created a very simple form - this may be obvious but I am totally confused by the process - can I confirm:
The form elements are standard fields not globals
you start a transaction which is triggered onload of the form
Your user enters their details
On submit the form is validated and the user passed to a confirmation page or similar with the transaction closed or retuned to the form to make corrections with the transaction remaining open
IF anyone has a simple example I would be very grateful
Gordon:
I am trying to integrate the web client into an existing site and have created a very simple form - this may be obvious but I am totally confused by the process - can I confirm:
The form elements are standard fields not globals
If you didn’t use globals on the form (in Developer) then they aren’t in the webclient either.
Gordon:
2. you start a transaction which is triggered onload of the form
Your user enters their details
On submit the form is validated and the user passed to a confirmation page or similar with the transaction closed or retuned to the form to make corrections with the transaction remaining open
If you make it behave like this in Developer (switching forms and all) then it will act like that in Webclient too.
I assume you show the webclient form in an iframe in your existing site?
note: Take care with transactions in web client as users can just close the browser window and potentially leave a transaction live until the session times out
ROCLASI:
If you make it behave like this in Developer (switching forms and all) then it will act like that in Webclient too.
I assume you show the webclient form in an iframe in your existing site?
Thanks for the reply!
I fully appreciate that to a large extent what you do in developer/smart client can be replicated in web client. However when I tried to create a form for use in the web client the fact that there was no record on load threw an error !
SO what I understand is that if you produce a simple form process in Developer it should be replicated in the smart client and if this happens to be transactional all the better, but it can be done with globals if you wish!
Gordon:
SO what I understand is that if you produce a simple form process in Developer it should be replicated in the smart client and if this happens to be transactional all the better, but it can be done with globals if you wish!
Indeed, but what Harry already pointed out it is better to disable the auto save and handle the checking/saving of the data yourself than to use a database transaction.
(thank you Harry for making that important point!)