cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
585
Views
0
Helpful
1
Replies

Does anyone "Trap" javascript errors and prevent the submission of a request?

Daniel Faust
Level 1
Level 1

I am wondering if anyone has implemented a way to capture when a JS error is triggered and prevent the submission of a request.

Websphere 6.1
Oracle 10g
Linux 4
RequestCenter 2008.3 sp7

I am wondering if anyone has implemented a way to capture when a JS error is triggered and prevent the submission of a request.

I have noticed that if someone selects a unique option (that was not considered or tested) that a JS error occurs and then they can submit the requsistion with out any validation. 

This causes problem especially if a mandatory field was missed farther down the form.

Thank you
Daniel

1 Reply 1

Ant Erickson
Level 1
Level 1

Hi Daniel,

Interestingly, we've found that in Version 9.1, all errors are trapped and the form locks up (which is a change in behaviour) and we were planning on logging a defect for it!  As, when service definitions change over time, it can very rather tricky to unpick absolutely everything without having an impact on the new service definitions (particularly when you have upgraded from 2007.x where ISF was the only way to do anything!).

Thanks,

Ant