• 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: How to use array output in custom script

How to use array output in custom script 13 years 2 months ago #12972

Hi,

I've found the custom script in the FAQ to update my Community Builder database with responses from the form fields. My issue is for fields that are dropdowns or multiple checkboxes. If I put the field name into the custom script, all that gets added to the community builder database is the word "array".

How do I make it so that the output that goes into the community builder database is the same as if I were to use the example placeholder {dropdownbox:value} in the admin or user emails?

Thanks.

Dominic
The administrator has disabled public write access.

Re:How to use array output in custom script 13 years 1 month ago #13154

  • andreic
  • andreic's Avatar
  • NOW ONLINE
  • RSJoomla! Official Staff
  • Posts: 733
  • Thank you received: 60
Hello,

Please try using
$value = $_POST['form']['dropdown_field_name'][0];

Then using the $value variable in your SQL query.
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!