on 09-12-2012 11:02 AM
Hi Folks,
I have two subforms on a page and need to display either of it based on a import parameter.
Could any body help me with the sample code of FormClac Script for the same.
Thanks in advance,
Shyam.
Hi Shyam,
it's like this:
if ( $record.(parameter name) == "X(or what ever)" ) then
$.presence = "hidden"
endif
Cheers.
Tao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tao Lin,
Thanks for the response.
I have tried with the code mentioned by you, but its still not working.
I have written the code in initialization event of subform.
I have declared the parameter as import parameter.
Do i need to define it in Global parameters or in initialize event ? Please suggest.
Thanks in advance,
Shyam.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.