Appnitro Software Forums » MachForm 2

Checkbox e-maildata


  1. Jos
    Member

    Hi,

    Another question. I want to change the way checkbox data is e-mailed to me. Now it looks like this:

    OptionA
    OptionB
    OptionC

    and it has be like this
    OptionA OptionB OptionC.

    By which way could this be changed?

    Thanks!

    Posted 2 years ago #
  2. redityo

    Hi,

    You need to customize "helper-functions.php" file for this, go to line 369 and you'll see these code :

    $checkbox_content .= '- '.$option_label.'<br />';

    then change it to

    if ($form_id == 1)
      $checkbox_content .= '- '.$option_label.' ';
    else
      $checkbox_content .= '- '.$option_label.'<br />';

    those code will make your check box options in the same line for form 1 email


    MachForm Support

    Posted 2 years ago #

RSS feed for this topic

Reply