• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Emailing Function

Emailing Function 9 years 5 months ago #33767

Hello community,

Love the component, however I have a small dilemma. I have a special form that requires specific emailing fuctions (at least I think :) )

Form breakdown.

1. User selects from drop-down list (drop-down list configured as email|Name)
2. Based on selection from 1, a specific checkbox group is displayed (checkbox list configured as email|department) Checkbox Group is formatted with Conditional fields in form properties - working fine.
3. User can check multiple options.
4. User submits form (Form should send email to all checked departments in step 2 coming from User that was selected in step 1.

The email should include custom text, including the names of the departments selected in step 2. I need the names of the department and not the emails.

--- So far I got it to work ONLY if one checkbox is selected, but email is rejected if more than one are selected. Also, when the email comes through, it looks somewhat funky.

This is how it comes in:

Schools Selected

,,,,,Test School,,,, ,


Any idea of I can accomplish this?
The administrator has disabled public write access.

Emailing Function 9 years 5 months ago #33778

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
You will have to use the PHP Email scripts are for such a scenario:

https://www.rsjoomla.com/support/documentation/rsform-pro/getting-started/php-email-scripts.html

Example:
$userEmail['to'] = implode(',', $_POST['form']['name of checkbox group here']);
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!