Can I customise the post back message in ektron html form with the message returned from my dXh connector

a 夏天 提交于 2019-12-22 22:46:52

问题


In my ektron application I have created an html form which is mapped to dXh. Can I customise the post back message in my html form with the message which is returned from my dXh connector? Am I able to do it or not?


回答1:


I doubt you'll be able to. Data sent to the DXH from form submissions is done asynchronously so as to not cause delays on your site, particularly in case something is going wrong (e.g., someone shut down the DXH server). Because it's asynchronous, the form isn't waiting for a response from the DXH in any way. So even if there were a way to use that data, you likely would end up with a lot of false negatives if the DXH is receiving data slightly slower than the form postback is rendering.

What you can do is customize the postback message with information submitted through the form because that data is posted back to the server. So if you have a name field in your form, you could customize the postback message with "Thanks Sudha!"

To do that, you would just use Request.Form("fieldname") to retrieve the value as you would with any other HTML form.



来源:https://stackoverflow.com/questions/20400321/can-i-customise-the-post-back-message-in-ektron-html-form-with-the-message-retur

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!