cancel
Showing results for 
Search instead for 
Did you mean: 

Need Java Scripting to raise an error in adobe form

Former Member
0 Kudos
329

Hi,

I have a radio button group in that i have three radio buttons, by default no radio button is selected, when i execute the adobe form in portal the system should not allow me to proceed further until and unless i select any radio button. I made the radio button group property to user entered required and i have written some error message in the error tab, but this error is not triggering, do i need to write any java script if so in which event i need to write and what is the script. Any help will be greatly appreciated.

Regards,

Venkat.

View Entire Topic
krishanu_biswas
Advisor
Advisor
0 Kudos

Hello Vikram,

There is no way that you can stop a user submit (sending request to the server) once "Submit" is clicked/or a similar operation takes place. You might succeed in showing an alert box, but you would not be able to stop the server request. This is how Web Dynpro works.

So, the best approach to handle your scnario would be to put your validation on the server (in your application code). If a checkbox is selected, go ahead (navigate, R/3 call or do whatever your application intends to do) ELSE go back to the same view with an error message being displayed on the page, promting the user for a mandatory input for the checkbox.

Best Regards,

Krish