Special Characters on to the User Interface

Hi All,

I have a scenario like, if user wants to enter any special characters, is there a way we can provide them a functionality of entering the data like how we do it in word document.

 

Basically, they need some kind of place on the screen to select the symbol and enter that symbol on to the Text field or paragraph field. Is there a way to do it in Appian.

 

If so please let me know.

TIA :)

Harsha

 

  Discussion posts and replies are publicly visible

Parents
  • Here is one simple way something similar could be achieved (you can obviously play around with how the grid is shown / hidden, the list of symbols, use loops to create the grid, etc.):

     

    load(
      local!textValue,
      local!isCollapsed: true,
      {
        a!linkField(
          links: a!dynamicLink(
            label: if(
              local!isCollapsed,
              "Show",
              "Hide"
            ) & " special characters",
            saveInto: a!save(
              local!isCollapsed,
              not(local!isCollapsed)
            )
          )
        ),
        a!columnsLayout(
          showWhen: not(local!isCollapsed),
          columns: {
            a!columnLayout(
              width: "NARROW",
              contents: a!gridField(
                label: "Special Characters",
                value: topaginginfo(
                  1,
                  - 1
                ),
                totalCount: 2,
                columns: {
                  a!gridTextColumn(
                    data: {
                      "§",
                      "Æ"
                    },
                    links: {
                      a!dynamicLink(
                        saveInto: a!save(
                          local!textValue,
                          local!textValue & "§"
                        )
                      ),
                      a!dynamicLink(
                        saveInto: a!save(
                          local!textValue,
                          local!textValue & "Æ"
                        )
                      )
                    }
                  ),
                  a!gridTextColumn(
                    data: {
                      "¶",
                      "¢"
                    },
                    links: {
                      a!dynamicLink(
                        saveInto: a!save(
                          local!textValue,
                          local!textValue & "¶"
                        )
                      ),
                      a!dynamicLink(
                        saveInto: a!save(
                          local!textValue,
                          local!textValue & "¢"
                        )
                      )
                    }
                  )
                }
              )
            )
          }
        ),
        a!paragraphField(
          label: "Text",
          value: local!textValue,
          saveInto: local!textValue
        )
      }
    )

Reply
  • Here is one simple way something similar could be achieved (you can obviously play around with how the grid is shown / hidden, the list of symbols, use loops to create the grid, etc.):

     

    load(
      local!textValue,
      local!isCollapsed: true,
      {
        a!linkField(
          links: a!dynamicLink(
            label: if(
              local!isCollapsed,
              "Show",
              "Hide"
            ) & " special characters",
            saveInto: a!save(
              local!isCollapsed,
              not(local!isCollapsed)
            )
          )
        ),
        a!columnsLayout(
          showWhen: not(local!isCollapsed),
          columns: {
            a!columnLayout(
              width: "NARROW",
              contents: a!gridField(
                label: "Special Characters",
                value: topaginginfo(
                  1,
                  - 1
                ),
                totalCount: 2,
                columns: {
                  a!gridTextColumn(
                    data: {
                      "§",
                      "Æ"
                    },
                    links: {
                      a!dynamicLink(
                        saveInto: a!save(
                          local!textValue,
                          local!textValue & "§"
                        )
                      ),
                      a!dynamicLink(
                        saveInto: a!save(
                          local!textValue,
                          local!textValue & "Æ"
                        )
                      )
                    }
                  ),
                  a!gridTextColumn(
                    data: {
                      "¶",
                      "¢"
                    },
                    links: {
                      a!dynamicLink(
                        saveInto: a!save(
                          local!textValue,
                          local!textValue & "¶"
                        )
                      ),
                      a!dynamicLink(
                        saveInto: a!save(
                          local!textValue,
                          local!textValue & "¢"
                        )
                      )
                    }
                  )
                }
              )
            )
          }
        ),
        a!paragraphField(
          label: "Text",
          value: local!textValue,
          saveInto: local!textValue
        )
      }
    )

Children