on 03-12-2014 7:37 AM
Hi ,
I have one requirement in which I need to hide a page if data is not available.
I will run standard report F.27, with 3 company code and details will be displayed via custom form in 3 pages , pag1 page 2 and page3.
If some information not available for 1st company code then I need to display only page2 and page3 with page no 1 & 2
How to achieve this ?
Regards
Sandeep
Hi Sandeep,
I think the two option above will work at all, but I don't think your inital value will be null. Check what the initial value is in your interface and deactivate the value with the Conditiontab. Then you will be able, to copy the statement from one of these suggestions.
Regards
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
first you read your context data and based on value of context data set visibility
ex .write this javascript code initialized event of page
if(xfa.resolveNode("xfa.reocord.VAR[0]").item(0).value==null)
{
page1.presence = "hidden";
}
her VAR is your Context Data
hope it will work.
Regards Jitendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can achieve your requirement by writing FormCalc on page1.
select page1 and write the below code in script edotor:
if($.company code1 == null) then
$.page1.presence = "hidden"
else
$.page1.presence = "visible"
endif
---
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
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.