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?
Can I customise the post back message in ektron html form with the message returned from my dXh connector
201 views Asked by Sudha At
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.