Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a form using Canvas Studio Form Designer. Refer the Form Framework section in this document Designer for more information on creating a form.
  2. Select the help indicator property for the form item for which you want to display the help text. For example, in the following screen shot, help indicator has been enabled for the TENOR field present in the DEPOSIT_STAT_FORM.

    Info
    • Selecting the help indicator property is mandatory if you want to display help text for the form item in your end application. The help text as such cannot be provided in Form Designer. You must configure the help text for the form item ID in the properties file for it to display in your end application.
    • Help indicator property is applicable only for selective form items as indicated in the table above.


    Image Modified

...


  1. In the properties file (for example, common_en_US.properties) provide the help text for the form item as raw-key value pair as follows:

    Code Block
    languagebash
    <Form Item ID>_HELP_MSG = <help text>

...

  1. 
    -- For example,

...

  1. 
    TENOR_HELP_MSG = The length of time until a loan is due.


Info

The help text will be applied to the form item ID (for example, TENOR) wherever it is used in the application.

...

  • To display the help text inline or bottom for the form items, provide the following respective code in any JavaScript listener file:
Code Block
languagejs
canvas.env.options.form.helpLblPosition='inline'; //for inline on 
	/*
	Note: Once this codeis implemented, itthe form item

// OR
canvas.env.options.form.helpLblPosition='bottom'; //for bottom of the form item

// Note that this code will reflect globally for all form items at the application level.
	*/ 

Sample screen shot of the form item with the help text:

...