Skip to main content
Archived

max length text parameter

  • November 7, 2019
  • 2 replies
  • 61 views

lars_de_vries
Forum|alt.badge.img+10

I'd like to be able to configure the text paramater to set a maximum length.

The use case is quite simple. People have an option to make a remark with a certain workspace. The remark will be added to the dataset in a field. However the field has a maximum of characters allowed. I would like to set this number of characters, so I want have to make the workspace fail if people add to many characters in the Parameter.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

rylanatsafe
Safer
Forum|alt.badge.img+14
  • Safer
  • November 8, 2019

You are able to setup a workflow to do this (ParameterFetcher --> Tester --> Terminator), but I could see the advantage of putting this logic into the parameter itself, so then a user would be unable to submit a workspace with an invalid string value (e.g. too long)!


ebygomm
Evangelist
Forum|alt.badge.img+51
  • Evangelist
  • November 9, 2019

Yes, I'd like to see more ability to control what can be entered within certain parameters

https://knowledge.safe.com/idea/43202/add-input-mask-or-similar-to-parameter-types.html