Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Re: How to display four different templates in same form dynamically

$
0
0

Hi Friends,

 

As per above requirement, i feel that creating four different pages and displaying any one page dynamically is more suitable.

 

so for testing, i have created 2 pages and base on conditon in page initialise i am setting as presence as hidden, it is working fine, if condition is failing for page2 it is getting hidden and displaying only page1.

 

but if the condition is failing for page1 then page1 is showing as blank and page2 is visible.

now how do i hide the page1 when it is blank.

 

Code i am writing in initialise event:(For reference)

  1. data.#subform[4]::initialize - (FormCalc, client)

if ( $record.IST_TRANS.RETYP eq "SC80" ) then

    $.presence = "hidden"

endif


Guys out of doubt i made the condition failing for both the pages, but now i am getting single blank page.

Did i miss something???.

 

Regards,

Siva


Viewing all articles
Browse latest Browse all 8944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>