Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
ConfiForms Form Definition
formNamef
fsashINLINE


tttext

ccnumberhidden

vtvthidden

upupvotevt=trueaction_buttonUpvoted

downdownvotevt=falseaction_buttonDownvoted

votersVoters listmultiuser

--- hide voters

*votersHide field

Create ConfiForms EntryonCreatedentryId=[entry.id]&c=0


hasChanged(vt):true AND vt:truetruetrueCreate ConfiForms EntryonModifiedentryId=[entry.id]&c=(ZEROIFEMPTY("[entry.c]")+1)&vt=&voters=[entry._user],[entry.voters.asList]


hasChanged(vt):true AND vt:falsetruetrueCreate ConfiForms EntryonModifiedentryId=[entry.id]&c=(ZEROIFEMPTY("[entry.c]")-1)&vt=&voters=[entry._user],[entry.voters.asList]


Warning

This works ONLY for authenticated users! So, please take the storage format provided and import it into your Confluence to see how it works


Buttons are hidden after the user has voted


ConfiForms ListView
formNamef

t


!voters:[entry._user]asFilterINLINEup down



...