Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

[Added] Breadcrumb Title

Information about updates, news, Code Library
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

[Added] Breadcrumb Title

Unread post by admin »

There's a new field in the nuBuilder Form: Breadcrumb Title. This field was also present in v.3.
Breadcrumb Title.png
It accepts a Text or SQL statement who's result can act as a descriptive title for this record. It can also contain Hash Variables.

If separated by |, the first part is used for existing records, the second part for new records.

Example: #not_title#|New

Explanation: Th Hash Cookie (an object on the form) #not_title# is shown on the form for existing records and "New" for new records.

Previously, one had to write a JS code like:
Breadcrumb Title.png

Code: Select all

if (nuIsNewRecord()) {
	nuSetTitle(nuTranslate('New'));
	nuEnable('sus_name'); 
}
else {
	nuSetTitle($('#sus_name').val());
}
You do not have the required permissions to view the files attached to this post.
Post Reply