Skip to Content Skip to Menu

Fire action when Progress field reach 100%

  • dotcom22
  • dotcom22
  • OFFLINE
  • Posts: 522
  • Thanks: 14
  • Karma: 4
9 years 10 months ago - 9 years 10 months ago #255573 by dotcom22
hello

I created a specific action (after user update his profile) when a progress field reach 100% of completion.

I would like fire this action only 1 time...that mean if user modify later his profile (and completion decrease down of 100% for later reach again 100%), the action must not be fired. I suppose using condition is possible but how to do this check ?

I tried by playing with [var3_cb_progress] against [var1_cb_progress] but not luck.

any clue ?

update: The only way I found has been to create a checkbox and one more action. Then when progress reach 100% for the first time, the checkbox become 1. Then my primary action can be fired conditionally by looking on checkbox value. However I'm almost sure something was possible to do using a single action with appropriate condition.

Thank

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins
Last edit: 9 years 10 months ago by dotcom22.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago #255664 by krileon
Replied by krileon on topic Fire action when Progress field reach 100%
Comparing var1 to var3 only works for regular fields that have stored values. That won't work for a calculated field like CB Progress Field. The only way to have what you're wanting is to have something else to condition against. Your checkbox idea would work.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: dotcom22

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum