You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have scoured over the documentation and cannot find any reference of being able to leverage e.g. ValidatePattern in parameters.
For instance, when one has a text parameter, it could be useful to have the user re-try inputting a value until it satisfies some regular expression.
Example showing how it could work with an optional pattern attribute.
<parameter name='ModuleName' type='text' prompt='Enter the name of the module' pattern='^[\w\s]+$' /> <parameter name='Version' type='text' prompt='Enter the version of the module' pattern='^\d\.\d$' />
I might have missed something, or is this functionality at present unimplemented?
The text was updated successfully, but these errors were encountered:
Hi!
I have scoured over the documentation and cannot find any reference of being able to leverage e.g. ValidatePattern in parameters.
For instance, when one has a text parameter, it could be useful to have the user re-try inputting a value until it satisfies some regular expression.
Example showing how it could work with an optional
pattern
attribute.<parameter name='ModuleName' type='text' prompt='Enter the name of the module' pattern='^[\w\s]+$' />
<parameter name='Version' type='text' prompt='Enter the version of the module' pattern='^\d\.\d$' />
I might have missed something, or is this functionality at present unimplemented?
The text was updated successfully, but these errors were encountered: