Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Field Endfield

Former Member
0 Likes
784

Hi Experts,

Could you please give me exact difference between

Filed EndField

Chain EndChain Statments....

Thanks

Kaki

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
713

1) CHAIN & ENDCHAIN

this is used to validate many fields. For example, say you have 5 input parameter in a module program. you want to validate these fields.

All the validations are written in a single module. so you can use

Chain.

field <fieldname1>

field <fieldname2>

field <fieldname3>

field <fieldname4>

field <fieldname5>

module check_input

endchain.

The above syntax, will call module check_input for each fieldname.

2) FIELD & MODULE

This will be mostly used where u want to perform different validation.

for example, you have 5 fields. you need to validate these fields indivually in a separte module. Then u can go for this syntax

For example:

field <fieldname1> module check_input1

field <fieldname2> module check_input2

field <fieldname3> module check_input3

field <fieldname4> module check_input4

field <fieldname5> module check_input5

Regards,

Ferry Lianto

Hi Experts,

Could you please give me exact difference between

Filed EndField

Chain EndChain Statments....

Thanks

Kaki

4 REPLIES 4
Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
713

Hi

Field....EndField.

for single Field validation and.

Chain....Endchain....

For Group validation.

We can built field....endfield...in chain....endchain.

Regards,

Sree

Read only

0 Likes
713

Hi sree ram...

can you give me any example....

using these two...

Thanks

kaki

Read only

Former Member
0 Likes
714

1) CHAIN & ENDCHAIN

this is used to validate many fields. For example, say you have 5 input parameter in a module program. you want to validate these fields.

All the validations are written in a single module. so you can use

Chain.

field <fieldname1>

field <fieldname2>

field <fieldname3>

field <fieldname4>

field <fieldname5>

module check_input

endchain.

The above syntax, will call module check_input for each fieldname.

2) FIELD & MODULE

This will be mostly used where u want to perform different validation.

for example, you have 5 fields. you need to validate these fields indivually in a separte module. Then u can go for this syntax

For example:

field <fieldname1> module check_input1

field <fieldname2> module check_input2

field <fieldname3> module check_input3

field <fieldname4> module check_input4

field <fieldname5> module check_input5

Regards,

Ferry Lianto

Read only

0 Likes
713

Thank you Ferry,

Full points alloted...

Kaki