I am creating a form and I need to conditionally switch a set value on a field if another field is empty.
What is your configuration for the "ConfiForm Rules for Definition" macro?
May be this one will help - https://wiki.vertuna.com/display/TEST/Form+with+default+values+set+by+Field+def+rules+and+by+registration+control
Alex
I have a Read-only field:
The field should populate with "some message" when another field is not empty
Current Macro Setting:
Field Name (or Expression) = Blank
Condition = fieldName:[empty]
Action to execute *= "I'm trying to set the value of a field"
What should my Rule Definition Macro look like?
Field name =
Condition =
Action to execute* =
Message to show when validation rule matches =
Validation rule =
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Field name = fieldName
Condition = !fieldName:[empty]
Action to execute* = Set Value
Parameters to set: fieldYouWantToSet=Value
Screenshots from the editor (simple form with 2 fields: fieldName and fieldYouWantToSet)
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can use some addons like automation for jira or scriptrunner, maybe issue edit postfunction is also possible
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, Alexander. I'd like to move in the direction of using the ConfiForm Rules for Definition' Macro. I feel like I'm not constructing my rules correctly..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.