Text Rule Properties Details

Text Rule Property Details

Property NameDetails
Widget Key

Widget Key is mainly used for custom functionality on the widget.

  • Example: Widget key is added in the widget for User Prefered. Means if two text box are there and if we make changes in any one of the text box then same properties should automatically reflect on the second textbox.
Group KeyWidget Group Key is mainly used to group the widgets and write a custom function that will reflect in all the widgets.
Price Key    This is used for price integration.
Custom Data List KeyThis key is used for the name and numbering options. For example, if there is a team and all the names and number needs to be added in the same location, there is a csv file which can be used by the shopper and at once it can be uploaded. This key helps to associate the custom data list to the product.
Custom Key    If there is any new custom development as per the customer's request for which there is no user interface in admin this field can be used.
Caption (For Designer)This is a caption of the textbox that website user adds or the default added text captions that are displayed in the front designer.
Text
  • Default Text: If the website user wants to add a default text while adding a textbox in a designer page then default text can be added in admin in the textbox section.
  • Ghost Text: Ghost text is a blank textbox that website user adds and the default blank textbox is added.
Placeholder TextThis is the text which is displayed as a watermark text in the textbox when there is no text added in the textbox.
Allow Horizontal Align

Text can be aligned horizontally. Left, Center and Right alignment are given.

Default selected option will display in front designer for website user.

Allow Vertical Align

Text can be aligned vertically. Top, Center and Bottom alignment are given.

Default selected option will display in front designer for website user.

Number Of Text Lines

From here admin user can define the maximum text line.

If the website user want to add more than the defined text lines then an error message will appear.

  • Error Message: If the number of text lines exceeds, an error message will appear to website user in the front designer page.

If you want to add your own error message then you can click on this icon. A pop will appear to add an error message. After entering click on Done button.

Character Limit

This is the max character limit of text.

If “0” is entered then unlimited characters can be added in the textbox in the front designer page.

  • Error Message: If Character Limit exceeds then, an error message will appear to the website user in the front designer page.

If you want to add your own error message then you can click on this icon. A pop will appear to add an error message. After entering click on Done button.

Text Validation

There are three text validation provided.

None:- If you select None then, it there will be no text validation applied to the text added in the front designer page.

  • All Caps: If you select All Caps then, the text that is added will be in capital letters only in the front designer page.
  • Only Numbers: If you select Only Numbers then, the text that is added will have only numbers in the front designer page.

If you want to add your own validation then you can add Custom RegX

  • Error Message: If you perform any action other than the selected options, website user will get an error on the front designer page.

If you want to add your own validation or error message then you can click on this icon. A pop will appear to add a Custom RegX and error message. After entering click on Done button.

Text Line Height

This is a predefined text line height that you can choose from artifi admin.

This is the line height of the text lines for a textbox. If the text lines are more than one then, you can set the height between the lines. You can choose the line height that is available from the dropdown and it will reflect in the front designer page.

The list in dropdown come from the list of line height that is checked from the pop up when you select this icon.

Font List

Select the default font from the front list from the drop-down. There are system fonts and custom fonts that will be displayed in the dropdown in admin.

  • System Fonts: By default there are System fonts which you can select the ones that you want to display in the front designer page.
  • Custom Fonts: This is the font that you can select from here. This font needs to be uploaded from the Font Family section. If you want to set the fonts then click on this icon. A pop will appear there will be system fonts and custom fonts (fonts family). Select the font family and fonts in that family and click on the Done button.
  • Embroidery Fonts:- For the embroidery rule embroidery fonts will appear if the embroidery engine is enabled. The other fonts for the embroidery will not appear.
Choose Font Size

If Choose Font Size is checked, the font size will be available to the website user in the front designer page.

You can add custom size in the admin. To add the custom size you need to click on this. A pop up will appear, click on Add Custom Value. Enter the values and click on the Add button and repeat it and click on the Done button after you add all the values.

Auto Font-Size

If Auto Font-Size is checked in admin,

then the fonts will resize automatically and adjust according to the space given for text.

Allow Horizontal ScaleThis helps in adjusting the text automatically to complete the area of the textbox. In this, the text is stretched and fits to the textbox. If this is enabled by default this does not work for all the layout. There is a code that needs to be added to the layout then only it will work.
Allow BoldIf Allow Bold option is checked, the website user can apply bold to the text in the front designer page. This option is not displayed for the embroidery rule.
Allow ItalicIf Allow Italic option is checked, the website user can apply Italics to the text in the front designer page. This option is not displayed for the embroidery rule.
Text Color

This is the text colors that are displayed in the front designer.

There are 4 options to set the text colors. 

  • Use Advanced Colors - This is the color picker that you can provide in the front designer to the website user. 
  • Use Custom Colors - This is the custom color that is uploaded from admin which will appear as a swatch color in the front designer.
  •  Use Hex Color - You can use hex color to show the swatches in front designer instead of images. 
  • Use Images - If you don't want to use hex code then you can select Use Images but swatch images for colors need to be uploaded in the color section.

For embroidery, the thread chart that is uploaded in the Thread Chart section of the Artifi Admin by the user would be considered to fetch the thread colors as swatch colors that are shown under the Text color setting. If in case there is no thread chart uploaded then the Advanced color wheel for selecting a thread color will be provisioned through the text color set here.

Text Stroke

If this caption is checked stroke can be applied to the text. Stroke does not work for embroidery rule. This option will not be displayed for the embroidery rule.

Text Stroke does not work for embroidery rule. This option will not be displayed for the embroidery rule.

Stroke Color

From here stroke colors of the text can be defined.

There are two options in stoke color section.

  • Use Advanced Colors - This you can select for providing color picker to the website front designer user. 
  • Use Custom Colors - This is the custom color added in admin that is displayed in the front designer as swatch colors.

Stroke Color does not work for embroidery rule. This option will not be displayed for the embroidery rule.

Choose Stroke Width

If Choose stroke width is checked the width of stroke can be changed in the front designer.

Stroke Width does not work for embroidery rule. This option will not be displayed for the embroidery rule.

Can Select?    If Can Select is checked, website user can select the textbox in the front designer page. If it's unchecked, website user cannot select the textbox.
Can Edit?

If Can Edit is checked, website user can edit the text in a font designer page.

If it's unchecked, website user cannot edit the text.

Show On Designer?This property enables and disabled the text box on the designer.
If this is enabled from admin, eCommerce user will be able see the text on the designer, however it this is disabled the textboxes will not be visible on the designer.
Show On Output?    This property enables and disabled the text box on the Output.
If this is enabled from admin, eCommerce user will be able to customized the product and will be able to add the text in the textbox. After customization it will be added to cart and an output will be generated with the customized text. However if this property is disabled user will be able to customize the product with text but the text used for customization will not be visible in the output.
Can Control Widget Visibility?If Can Control Widget Visibility is checked, then the textbox can be enabled and disabled on the designer. The shopper has the ability to control it. This does not work in all the layout automatically. This is provided on request of the customer.
Is Required?

If this is checked in admin then in front designer page textbox cannot be empty.

If it is empty then it would give a message and will not allow to the website user to add to cart. If you don’t want the website user should get any messages and can add blank textbox then uncheck Is Required? Option in admin in rules properties.

Can Scale?Textbox can be scaled and text size can be increased according to the textbox scaled.
Can Move?If this is checked Textbox will be movable in front of the designer on the website.
Can Rotate?If this caption is checked textbox will rotate in front designer on the website.
Can Delete?If this caption is checked, the user can delete the textbox.
Allow Arrange Options?

If this caption is checked, the front designer user can arrange the object according to the shoppers convenience

User Preferred Text

This is used to reflect the same properties on other objects.

For example, if there are two text objects and if you enter any text in front designer then the same text will reflect in the textbox on which user-preferred is on.

Apply One Color ImprintIf the imprint color functionality is enabled this will work for the widget textbox wherever this rule is applied.
Allow SpellcheckIf this is checked, there is a red line that appears on under the text in the textbox if the spelling is wrong.
Widget BorderWidget border can be shown by default if this checkbox is selected.
HeightThis is the height of the textbox widget.
WidthThis is the width of the textbox widget.
LeftThis is the X position of the textbox widget.
TopThis is the Y position of the textbox widget.
Effects

There are two effects for the textbox

  • Shadow: There is two option to set shadow for text. You can set it to user derived, means when the user wants then he can apply it in the front designer of the website. Or Apply Shadow Effect by default. When the user adds any text by default it will be added along with shadows that are applied on it. 
  • Widget Opacity: This is the opacity of the textbox widget. That means a textbox widget can be made transparent or opaque.

Effects do not work for embroidery.


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.