NetTalk Central

Author Topic: NetWebForm  (Read 2038 times)

rupertvz

  • Sr. Member
  • ****
  • Posts: 314
    • View Profile
    • Email
NetWebForm
« 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?

Thys

  • Sr. Member
  • ****
  • Posts: 311
    • View Profile
    • Incasu
    • Email
Re: NetWebForm
« Reply #1 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

rupertvz

  • Sr. Member
  • ****
  • Posts: 314
    • View Profile
    • Email
Re: NetWebForm
« Reply #2 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?
« Last Edit: August 22, 2011, 05:42:49 AM by rupertvz »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: NetWebForm
« Reply #3 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