rbhushan
27th December 2013, 11:26
Hi,
Can anyone tell me how to use attr.ille$.
Can we set the illegal characters programmaticaly for a domain. if so how?
Regards,
Bhushan Rane.
bhushanchanda
27th December 2013, 13:15
Hi Bhushan,
The predefined variable is used to get the illegal characters for a field which is under focus. i.e. the domain related to the field.
Like, rdi.domain() which gives information about a domain, which also includes the illegal characters related to that domain, this predefined variable can be used to collect the list of illegal characters assigned to the fields domain.
To use it, try this:-
Say you have 2 form fields test1, test2 with domains tctmp1,tctmp2 which has illegal characters B, P, R & Z M G respectively.
field.test1:
when.field.changes:
temp = attr.ille$ |It will show B P R as variable value
field.test2:
when.field.changes:
temp = attr.ille$ |It will show Z M G as variable value
You can check under debugger.
Not sure if you can use it to assign illegal characters to a domain.