NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on August 22, 2011, 04:37:48 AM

Title: NetWebForm
Post by: rupertvz on August 22, 2011, 04:37:48 AM
Hi Guys,

I am still fairly new to NetTalk - feeling my way around ...

I am using a NetWebForm and form-style:  Wizard
On the second tab of the wizard, I'd like to add some Terms and Conditions in text format.
Should only show on the second tab of the wizard.

I went to the XHMTL section of the NetWebForm procedure and inserted text for TC's here, BEFORE(/TABLE)

it shows in the right spot, but on all the tabs.

I have also tried the following condition for the XHTML section: 
lower(p_web.PageName) = 'fwizard_nexttab_0'

* Then doesn't show at all.

Any advice please?
Title: Re: NetWebForm
Post by: Thys on August 22, 2011, 05:34:39 AM
Rupert,

On the second tab, add a control of type TEXT and put a local string variable as the FIELD. When the procedure starts up, set this variable to the T&C text you want it to have. You should also be able to make it read-only by setting the style in the CCS tab.

Thys
Title: Re: NetWebForm
Post by: rupertvz on August 22, 2011, 05:41:15 AM
Thanks Thys,

The length of the TC is too long for the Initial Value field.
At which embed can I set the text-value instead?
Title: Re: NetWebForm
Post by: Bruce on August 22, 2011, 09:53:55 PM
right click on the procedure,
choose source,
search for your variable,
and see where it is _used_.

From that it should be clear
which is the best embed
to use.

Cheers
Bruce