User tests: Successful: Unsuccessful:
Prevent html markup from being rendered to the email when an empty (optional) field value has been submitted.
The installation you test this in should be able to send an actual email.
If everything worked fine, visiting that previously created contact in the frontend should show you the default contact form + the test field.
The expected result would be an email including the fields submitted by the form, including the label followed by a colon (e.g. Test:)
The mail send includes the following HTML markup instead of the label of our custom field.
<dl class="fields-container">
</dl>
Apply the patch and test again. The markup should be replaced by the label and / or the value, depending on the fields settings.
Status | New | ⇒ | Pending |
Category | ⇒ | Front End com_contact |
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC after two successful tests.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-22 18:30:36 |
Closed_By | ⇒ | rdeutz | |
Labels |
Added:
?
|
I have tested this item✅ successfully on 7a21916
Nice find :) I've tested this successfully and it works fine for me.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15968.