on 02-02-2011 9:01 AM
Hi i have a requirement like i need to validate some fields in the form with out connecting to sap.can i maintain data some where like in excel sheets in my desktop can i get data from there and can i validate fields using the data,is there any option is there ,
or else can i keep some data in the java script only(arrays like that)
Hi Sudheer,
When you say validation refering data from your desktop, does that mean data will change time to time ...?
if so then the best option is pass on the data to the form when its triggred. have it hidden and then validate.
As sanoosh said if the data is huge enough like MBs, and data is constant then I would go with XML data approach.
in XMl data approach, I define a XML with data respective data.
In the form I will create a XML data source for this file and will load this file to this form.
then in the form as usual i will have hiddenfields and do validate with them, if you dont want to have hidden fields, you can still refer to this data source and use it.
hope you got me.
Cheers,
Sai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sudheer,
Bring the data to form at the time of download. Keep it in hidden tables within the form. At the time of validation, loop the table, get the relevant data and validate. Go for this solution, only if the data volume is less.
Thanks & Regards,
Sanoosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.