NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: JohanR on February 05, 2014, 12:10:21 AM
-
Hi,
How would I have a conditional Heading and SubHeading on a NetwebForm?
I am trying to have different headings for changes and inserts.
Currently looking at creating a function and passing the form action, but not sure if this will be the easiest way to do this.
thanks for any advice
johan
-
The clarion CHOOSE command makes for a good inline IF statement.
eg
Choose(loc:act = Net:InsertRecord,'Insert','Update')
But changing the header to match the action is very "old school". (because no-one reads the header....)
-
Hi Bruce
thanks, that seems simple enough.
I am using the same form for member signup and for an existing member to update his profile,
so am using the header to entice/lure a signup for a non member,
and for an existing member what will happen to him if he does not keep his profile up to date.
Johan