Forums

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

Confiforms Action Buttons and css styles

Rayman Bacchus
Contributor
November 19, 2022

I am trying to use Confluence css class (aui-button aui-button-primary) for a Confiforms Action button.

I can enter the css in the css field when setting up the action button but once created button does not seem to trigger the action (Basically increase another field by 1 when clicked).

Action button Name:  ActButton

Action to perform: TempNumber=([entry.TempNumber]+1)

css styles: class:aui-button aui-button-primary

The button (with the style) appears in the TableView as required - but it does not trigger an action.  If I remove the css styles the button works nicely.  I am wondering why it would work if I do not have the css style, but stops working once the css style is there.  Any ideas?

My Example.PNG

1 answer

1 accepted

3 votes
Answer accepted
Alex Medved _ConfiForms_
Community Champion
November 21, 2022

Hi

This seems to be conflicting with the default styles the button should have in order to function

Consider changing your CSS parameter to be 

class:aui-button aui-button-primary confiforms-action-button

We will make sure this does not get in conflict in the future update to the app (and the needed CSS class gets added in anyway)

Alex

Rayman Bacchus
Contributor
November 21, 2022

Thanks Alex.  That did the trick.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events