• 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: Free text field on php email script

Free text field on php email script 8 years 2 months ago #36495

  • pereira.edgar
  • pereira.edgar's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 1
hello,
I'v created one script to generate the content of email dynamicly with all fileds! But i need to get a content of a free text field.! but i cannot obtain it on $components array?!? this is normal? and fields are not changed by user is not present! How to get all fields to create my mail like i need?

ii used this to generate my mail:
foreach($_POST['form'] as $component=>$value){
  if(is_array($value)) $value = implode(',',$value);
    if($value != '' && $component != 'formId'){
    $modAdminEmailText .= '{'.$component.':caption}: {'.$component.':value}'."<br/>";
    }
}
Last Edit: 8 years 2 months ago by pereira.edgar.
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!