• Resolved ginabrass

    (@ginabrass)


    After a user fills out a form, I have the settings set to have it emailed to me … both as HTML in the body of the email and as a CSV attachment.

    In the body of the HTML email, all of the text from the various form fields are displayed in a table … and the fields kind of run together. It’s a white table on a white background with white borders (or the borders are collapsed?).

    I’d like to add borders to each row of the table so that it separates the data a bit and my eyeballs can read it easier … but I can’t figure out which file to add it to.

    Help?
    Thanks!

    https://wordpress.org/plugins/ninja-forms/

Viewing 1 replies (of 1 total)
  • Thread Starter ginabrass

    (@ginabrass)

    Found the solution.

    Edit the shortcode.php file and change this line:

    $field_list .= '<tr id="ninja_forms_field_' . $field_id . '"><td>' . $label .':</td><td>' . $value . '</td></tr>';

    to this:

    $field_list .= '<tr id="ninja_forms_field_' . $field_id . '"><td style="border-bottom: 1px solid rgb(0, 0, 0); padding: 15px 0px;">' . $label .':</td><td style="border-bottom: 1px solid rgb(0, 0, 0); padding: 15px 0px;">' . $value . '</td></tr>';

Viewing 1 replies (of 1 total)
  • The topic ‘Adding borders to emailed responses’ is closed to new replies.