NetTalk Central

Author Topic: Dynamic Heading in a NetWebForm procedure  (Read 3563 times)

Koen Tjoa

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • Email
Dynamic Heading in a NetWebForm procedure
« on: November 02, 2011, 09:59:39 AM »
Is it possible to have a dynamic heading in a NetWebForm procedure? The condition is based on which tab is selected in the form.

I know that also possible to have a string formatted as a heading inside the tab, I prefer to have it outside the tabs, a.ka. above the tabs.

Devan

  • Full Member
  • ***
  • Posts: 230
    • View Profile
    • Email
Re: Dynamic Heading in a NetWebForm procedure
« Reply #1 on: November 02, 2011, 02:48:05 PM »
I'd be interesting in knowing if there is a quick way of doing this too.

At present I have a web app that has one MASSIVE form, with about 8 tabs and lots of fields.  It would be handy if I could dynamically pull one field (i.e. the Student Name) from the first tab, and display it above the tabs so if the user moves to another tab, they still know which student record they are working on - particularly if they step away for a couple of minutes and come back, which they are likely to do whilst entering/updating these forms.


Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Re: Dynamic Heading in a NetWebForm procedure
« Reply #2 on: November 02, 2011, 02:56:50 PM »
If you know the ID of the header, you could use jQuery replaceWith (http://api.jquery.com/replaceWith/) .. Or am I missing something?
Cheers,

Stu Andrews

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Dynamic Heading in a NetWebForm procedure
« Reply #3 on: November 02, 2011, 09:42:19 PM »
It's not trivial in NT5, unless you know what you're doing. And it's made worse by the fact that the heading moves up into the Caption bar when the form opens in popup mode. I will put it on the list though for NetTalk 6 - it's possible some tweaks there will make it easier for you.

cheers
Bruce

Koen Tjoa

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • Email
Re: Dynamic Heading in a NetWebForm procedure
« Reply #4 on: November 03, 2011, 01:38:51 AM »
OK, thanks Bruce. I would like that, but it is not a big issue for me. It is now (temporally) solved by using sub-heading in the browse controls I put on the form.