Send data to the server.
Hello. Now we have the problem with sending data to the server. We have modal action, and on press 'Ok' button runs js function. But data that user inputs in modal window not presented on the server. We using refresh on change for eac field in modal action to resolve it, but it's not good for users. I tried call reloadSection activity, but data not refreshed on the server after that. May be someone knows how i can send data to the server?
Hi Artem,
I am sorry but I am little confused with the issue description. Let me give try to summarize what i understand from the post and you correct me if I am wrong.
1. You have a modal action where your user enters some data
2. Once they are done, they click the OK button of the modal and the modal window closes
3. The modal window OK button is configured to call some custom Java script function
4. At this point you expect that the data user entered via modal should be there on clipboard ( and in database as well )
5. But in reality you are not seeing the same. The data are not getting updated on clipboard ( or in database ).
Is it what you are seeing at your end ? Please confirm !
Also, along with this, can you please also answer the following :
1. What is the PRPC version you are on ?
2. Which browser you are running the test ?
3. Are you seeing any sort of java script error on the screen when you are submitting the modal ?
4. What is the behavior if you remove the custom JS code against the modal window OK button and let it work as out of the box way ?