Supported Tags for Field Scripting

This guide is referencing supported tags in field scripting.  

Click here to review the chapter on Field Scripting if you are not yet familiar with field scripting. 


 

<BR>

This tag is used to force a line break.

This tag does not accept any attributes.

Line 1<BR>Line 2

Line 1

Line 2

 

<P>

 

This tag is used to mark up paragraphs. Paragraphs are types of styleruns and so they accept the same

attributes as stylerun tags. They also accept the following additional attributes:

 

Attribute  

Notes  



align

The text alignment for the paragraph. If no value is specified it is assumed that the text

should be left aligned.

 

You can specify left aligned text (eg align=left), right aligned text (eg align=right),

centered text (eg align=center) or justified text (eg align=justify).

 




break

_____________________________________________________________________________________________

 

The line breaking style for the paragraph. This attribute takes a comma delimited list of

hints used to control how lines are broken when chaining from one text area to another.

 

You can specify that a paragraph should be kept with the next one by assigning the

keepwithnext hint (eg break=keepwithnext). You can specify that there should be a

break before a paragraph by specifying the breakbefore hint (eg break=breakbefore).

 

_____________________________________________________________________________________________






fixedwidth

 

You can specify a specific width for a block of text. For example, if you have three phone

numbers (phone, mobile, fax) to list together on a business card, you may want to have them

set up so that the numbers are aligned. Without the fixedwidth attribute, it would look like this:

 

 

However, by adding the fixedwidth attribute, you can make the phone numbers align. Here is

an example of what you could put in the field scripting area, if “phone,” “mobile,” and “fax” are

all field names in your template. This would set the part of the line in the STYLERUN area to

be in a space of fixed width. (Note: Line breaks are added only for clarity; you would not type

them into the editor box, or you would get extra blank lines in your text.)

 

{{<STYLERUN fixedwidth="23">Phone:</STYLERUN>@phone@<br>}}

{{<STYLERUN fixedwidth="23">Mobile:</STYLERUN>@mobile@<br>}}

{{<STYLERUN fixedwidth="23">Fax:</STYLERUN>@fax@}}

 

Using this fixedwidth attribute would result in a phone number block that looks like this:

 

 

____________________________________________________________________________________________


spacebefore

 

Normally paragraphs have vertical space before and afterwards the body text.

By setting this attribute to zero you can remove vertical space before the paragraph.

 

 

 

 

spaceafter

_______________________________________________________________________________________________

 

 

Normally paragraphs have vertical space before and afterwards the body text.

By setting this attribute to zero you can remove vertical space after the paragraph.

 



Previous Chapter: Chapter 31 - Using Syntax Tags in HTML Field Scripting


Next Chapter:  Chapter 33 - HTML Tags for Field Scripting