Set page heading text on page load

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

Segi
Ebase User
Posts: 649
Joined: Mon Dec 09, 2013 6:37 pm

Set page heading text on page load

#1

Postby Segi » Thu Mar 13, 2014 3:21 pm

I want to dynamically set the form heading text at run time when the page loads.

I have looked through the form objects' properties but do not see a method to do so.

Is there a way to do this ?
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Thu Mar 13, 2014 4:58 pm

In the designer create a new field e.g. FORM_HEADER_TEXT and change the form heading text to &&FORM_HEADER_TEXT. Then at runtime set this field with whatever text you need.

Alternatively you can use the FPL "set text" command - there is no equivalent in Javascript for this at the moment.

Regards
Jon
0 x


Who is online

Users browsing this forum: No registered users and 14 guests