Expand my Community achievements bar.

HTML Submit per script?

Avatar

Level 1

Hello!

I have following question: I have a LC Designer form with a http submit button. I send the XML to a servlet.

During sending a failure can happen for example no connection or error on server. I want to evalute the response. But I can't see any possibility to intercept the submit button.

The pre- and postsubmit event doesn't work.

I found the FormCalc method post(). But this is only working in formcalc and not in JS. I do more things in JS so I can't use it (I found no bridge between formcalc and JS)

Is there a possibility to check the result of a http response when sending data?

(I can't use SOAP because there are no ReaderExtensions!)

Regards,

Christoph

0 Replies