Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

CB Auto Actions

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
12 years 2 months ago #215243 by krileon
Replied by krileon on topic Re: CB Auto Actions
It'll work fine with CB Core Fields Ajax as it fires the profile update trigger after an ajax update.


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.

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

12 years 2 months ago #215245 by edmundcheong
Replied by edmundcheong on topic Re: CB Auto Actions
Even if when we update a field of a profile on a userlist? Pardon me for this stupid question..

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
12 years 2 months ago #215258 by krileon
Replied by krileon on topic Re: CB Auto Actions
Yeah, userlist and profile view ajax usage is the same (just a little different display); both fire the before/after profile update triggers.


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: edmundcheong

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

12 years 1 month ago - 12 years 1 month ago #215358 by edmundcheong
Replied by edmundcheong on topic Re: CB Auto Actions
I am writing an auto action to send an email when the form is completed. For this i have multiple conditions where the fields (some are text and select fields) have been set to as "not empty". Meaning, the conditions are: as long as the fields are populated (not empty), the auto action should fire. However, after saving, the auto action still fires even when the fields are empty.

I believe the solution for this is to use the "contains" or "REGEX" rule.. Correct me if I am wrong..

The question now is:

1. For auto action's REGEX, can I use the same regular expression which I have set in the field management (custom perl expression)?

2. For auto action's "contain" rule, how do I put it in multiple words or options. Meaning contains various items. I may want to use for the fields with the "select" option. For example, "yes", "no", "may consider" and "probably not". How do I put all the options in the "contain" value? I have to put all this options in because some how the field is "not empty" condition doesn't work.
Last edit: 12 years 1 month ago by edmundcheong.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
12 years 1 month ago #215460 by krileon
Replied by krileon on topic Re: CB Auto Actions

1. For auto action's REGEX, can I use the same regular expression which I have set in the field management (custom perl expression)?

Yes, but you'll need to delimiter your REGEX of course (e.g. /\w+/).

2. For auto action's "contain" rule, how do I put it in multiple words or options. Meaning contains various items. I may want to use for the fields with the "select" option. For example, "yes", "no", "may consider" and "probably not". How do I put all the options in the "contain" value? I have to put all this options in because some how the field is "not empty" condition doesn't work.

You don't. It's saying does VALUE1 CONTAIN VALUE2. This is useful when VALUE1 is an array and you need to check for a value inside that array (e.g. multiselect fieldtypes). It only checks 1 value though. If you need multiple value checking you can add more conditions or you can use REGEX.


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: edmundcheong

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

Moderators: beatnantkrileon
Powered by Kunena Forum