Skip to main content
September 10, 2022
Question

Show remain character in paragraph field

  • September 10, 2022
  • 4 replies
  • 1 view

Hi,

How to show number remain of character in paragraph field

Thanks.

    4 replies

    harshitb6843
    September 10, 2022

    Appian already provides that. Check the image below. 

    caroline.brautigan
    Employee
    September 14, 2022

    If you use characterLimit, you can also set showCharacterCount: true() to have the field automatically display how many characters the user has entered compared to the limit. 

    docs.appian.com/.../Paragraph_Component.html

    mikes0011
    Brainy
    September 14, 2022
    you can also set showCharacterCount: true()

    As a slight point of clarification: "show character count" defaults to true() when any character limit value is provided; the main utility of the "showCharacterCount" parameter is that it optionally allows us to set it to false() and thus hide the counter (useful for small paragraph fields, since the character counter can start interfering with entered text when space is very tight).

    The Expression Guru
    September 10, 2022

    Question for you. where do you want to show the number? Inside the paragraph field or below it. If inside, then as Harshit mentioned, you can use the character limit property, and if underneath the paragraph field then you can use instruction text with logic and also set the refresh after property to KEYPRESS.

    for example 8000-len({localVariable/RI Var}).

    Note: Harshit's configuration makes more sense because it will throw the validation issue if the user exceeds the count without doing any extra code for it.