Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Resetting of field in Confiform of type WS Multi-Select

Stuart Wosika
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 16, 2024

Hi guys,

when I use the IFTTT rule for field definition to reset my fields in a form, it works for everything except WS Multi-Select. There seems to be a slight issue.

When I reset, it does remove the entries previously chosen but on the form leaves a X entry on the screen in the form field.  Now I have tested and the form does believe that the field is empty but it is an annoying and could confuse users.

Is this a BUG?  Can I use the rule "Set Value" instead to reset the field?

Thanks for your assistance in advance.

BR.

Stuart.

 

 

 

1 answer

0 votes
Alex Medved _ConfiForms_
Community Champion
January 16, 2024

Hi

Could you please explain how do you use the IFTTT rule to reset a value in the field? Are you updating the field back on form submit setting the field value to be empty?

Alex

Stuart Wosika
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 16, 2024

These are snippets from the form.

 

1. Form Field Definition

<p>
<strong> <ac:structured-macro ac:macro-id="dbafcbc5-1b8e-4aa5-aedc-d06cf2ddb76d" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="mapping">issues|key|fields.summary</ac:parameter>
<ac:parameter ac:name="fieldName">IHProblemExistingIdea</ac:parameter>
<ac:parameter ac:name="fieldLabel">Ideas To Solve Problem</ac:parameter>
<ac:parameter ac:name="values">/rest/api/2/search?jql=project%3DIH%20AND%20issuetype%3DIdea</ac:parameter>
<ac:parameter ac:name="extras">c2913ec595525a5f89dd9cd89e54cd94</ac:parameter>
<ac:parameter ac:name="fieldDescription">Lookup Existing Ideas in Jira. Can link to a maximum of 3 ideas</ac:parameter>
<ac:parameter ac:name="extracontext">false</ac:parameter>
<ac:parameter ac:name="type">wsmultiselect</ac:parameter>
</ac:structured-macro> </strong>
</p>

 

2. Reset of Field

 

<p>
<strong> <ac:structured-macro ac:macro-id="72c43760-d2ca-437f-bfde-f8bfb6e82ad0" ac:name="confiform-field-definition-rules" ac:schema-version="1">
<ac:parameter ac:name="condition">IHReqType:[empty]</ac:parameter>
<ac:parameter ac:name="fieldName">IHProblemExistingIdea</ac:parameter>
<ac:parameter ac:name="action">Reset value</ac:parameter>
<ac:parameter ac:name="actionFieldName">IHReqType</ac:parameter>
</ac:structured-macro> </strong>
</p>

 

Stuart.

Alex Medved _ConfiForms_
Community Champion
January 17, 2024

OK, I think I understand what do you mean. We will look into addressing that little UI glitch

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events