cancel
Showing results for 
Search instead for 
Did you mean: 

validating user input in VC using javascript

Former Member
0 Kudos

Hi All,

I'm exploring possible solutions for validating user input and reporting error messages back to the screen for users to correct their entries. It was mentioned in one of the threads that this can be done using javascript..

can the source code in VC be edited?? Can anyone give me pointers on how to achieve this and where to incorportate the javascript function for validation? Thanks!

cheers

Prachi

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member203343
Contributor
0 Kudos

Hi Prachi,

Since the final product of your model in VC is a SWF file (Flash file) you cannot use javascript to check user data, since it should be done in the .mxml file that is compiled to the SWF file. You can use the validation tab for the elements or your own pop up with conditions (like in the links <b>Navneet</b> has posted in his reply).

Regards,

Natty

Former Member
0 Kudos

Thanks both for the clarifications!

Former Member
0 Kudos

Hi

Please go through the following links :-

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/norecordsreturnedshalldisplayalternatemessage&

Cheers

Navneet