on 11-16-2011 9:38 AM
Hi Experts,
For my date field i assigned validation and is working properly.I could pop up the error message also.But my issue is, the entered wrong data is not getting deleted or cleared from the date field after validation.
How i can clear the wrong data entered in field automatically?
Please help me.
Regards,
Arun.
Hi,
I solved it Myself.
Please add this code to exit event.
if(this.rawValue == this.formattedValue){
this.rawValue = "";
xfa.host.messageBox("Please enter date in 'DD.MM.YYYY' format");
}
Arun.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Arun,
Can we use validate event for the same? Ideally it should cancel teh submit of the form.
I am a using SAP Adobe Interactive forms using transaction SFP in ABAP Workbench and am trying to check the possible ways to apply validations (client side validations) to the form data. These forms are expected to get called from HCM Processes and Forms processes.
Regards
Rajeev
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.