Workflow Forms 6 years 11 months ago #117354

  • Bob777
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 16
  • Thanks: 4
Hello Chris,

The employee write some informations in input text fields (first name, last name, phone number, email, etc.).
Then he select his team in a list which display all the teams and add his bill in an upload field.

The manager have to check (see) the attached file (the bill) to see if the expense is ok.
If it is ok, the manager click on a check box to validate the expense and send all the form to the third person.
If the expense is not ok, there's no specific action within the workflow : i mean, if something going wrong, the manager have to phone or email to the employee to get some explanations from the employee.


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

Workflow Forms 6 years 11 months ago #117461

  • chrisal's Avatar
  • chrisal
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 6983
  • Karma: 187
  • Thanks: 629
Hello again,

okay - this is a really simple sample of the code:
$from = ''; // Change this to the EMAIL ADDRESS you want to appear in the Email's FROM field
$fromname = 'Your Company Name'; // Change this to the 'FROM' NAME you want to appear in the Email

$team = ff_getSubmit('TeamElementName');
//Change TeamElementName to the name of the element where the user selects his team

if($team == 'team1'){
$recipient = '';
} else if($team == 'team2'){
$recipient = '';

$subject = 'Your Subject Here';
$body = '';

foreach ($this->maildata as $data) {
   $body .= $data[_FF_DATA_TITLE].": ".$data[_FF_DATA_VALUE].nl();

$this->sendMail($from, $fromname, $recipient, $subject, $body);  // This line actually emails the form.

This piece will only check the team that the user has entered and will send an email to the corresponding email address.
Please have a look at the comments in the code itself!

If this is working we can start with the Manager email.


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

Workflow Forms 3 years 11 months ago #200140

  • paolo.procacciante
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 118
  • Thanks: 0

chrisal wrote:

A staff member submits a form that needs to be viewed and approved by heads of different departments.
This is possible with BreezingForms and/or ContentBuilder which is avaiable for free by the way :laugh:

How to do it?

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

Last edit: Post by paolo.procacciante.

Workflow Forms 3 years 10 months ago #200954

  • lovre's Avatar
  • lovre
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 2667
  • Karma: 76
  • Thanks: 329
Hi, sorry for the delay, i hope it's not too late.

You should make a form with 2 types of fields, USER and ADMIN fields.

Based on that Form you should create 2 Views, one for the ADMIN and one for the USER, create separate EditableTemplates, ContentTemplate can be the same, set permissions, use the "edit by type" option, set "include in list", "editable".

Let us know if you need any help with this.


Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Need to renew Pro Support?
Buy Here!
Consider a membership!
Like us on Facebook

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

Workflow Forms 1 month 1 day ago #257264

  • Abdes13
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 1
  • Thanks: 0
Hi Lovre,

I still have the same problem. I didn't understand the procedure you proposed. Can you go into more detail? Thank you.

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

Last edit: Post by Abdes13.

Workflow Forms 1 month 17 minutes ago #257282

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 5415
  • Karma: 3
  • Thanks: 386

in content builder you can create two views based on same form (one for admin and one for user).
There you can create Content Template, and set special permissions in Permissions tab for both views.

Let me know if you need more help


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

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.052 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links










Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

Questions et réponses sur les forums de l'AFUJ


Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!