in html within the tags, the page title…
we are using the stuff as a subform. If I add the page title , is there a way to compute the page title so I don’t have to create one for each individual page?
TIA
Webmaster
Bruce Gilbert
in html within the tags, the page title…
we are using the stuff as a subform. If I add the page title , is there a way to compute the page title so I don’t have to create one for each individual page?
TIA
Webmaster
Bruce Gilbert
Subject: web page title tags
Bruce,
Not sure if this will help you at all…
This example will display New Patient in the window title for new documents, patient (Owner) for existing documents, and patient (Unknown Owner) for existing documents whose owner is unknown.
This example is contrived to illustrate a technique, but is useful in understanding how to calculate window titles. isFldThere := @IsAvailable (ownerName) & ownerName != “”; if FldYes := patientName + " (" + ownerName + “)”; ifFldNo := patientName + " (Unknown Owner)"; @If(@IsNewDoc; “New Patient”; @If(isFldThere; ifFldYes; ifFldNo)) The key element in this example is the first line:
isFldThere = @IsAvailable(ownerName) & ownerName != “”;
which sets the variable is FldThere to true or false. The last line actually determines which text is displayed in the title.
This was taken from:
…thats a great site for lots of coding tips…
Subject: web page title tags
Can you not make a shared field called title and then just output the value of that shared field for each page’s title? I haven’t tried this, but it sounds like it should work. Try it out.