Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Customize all notification emails #19501
    alexandravonk
    Participant

    Hi Ally,

    I do receive the following error when data is submitted from the from and sent to my email :

    Subject); ?>
    “> “>
    getElements(); foreach ($elements as $element) : ?> isHidden() && (!$element->isEmpty() || ($element->isEmpty() && $form->getNotificationShowEmptyFields()))) : ?> getShowNameInEmail() && strlen($adminTitle = $element->getAdminTitle())) : ?>

    Would you know what causes this and how i could resolve this?
    I had been following above steps like, but this time i am not able to resolve the error.

    Thanks in advance.

    in reply to: Customize all notification emails #14947
    alexandravonk
    Participant

    Hi,

    I’m trying also to have multiple forms and i’m looking for a way to style the output in email.

    I would like to style the data from the form in standard table layout, with even rows and un-even rows are colored slightly differently (like grey/white).

    So far, i managed to apply this layout by using an html file as reference, just by changing the reference from ’email-content.php’ to ‘style-form1.html’

    I have tried the above instructions from this topic, but then it appears that the output of both forms are not styled. of course, in my case there is only one reference possible, which is style-form1.html.

    I could see two possible solutions to this problem:

    1) Is there a way to make a reference to a specific HMTL form with the style inside, depending on the form used?
    Like:
    if form 1 is used –> then use style-form1.html
    if form 2 is used –> then use style-form2.html
    (a disadvantage of this method is that for every form it creates work to setup the html file correctly and maintain it once the form is changed/updated)

    2) Would it be possible to make a few simple style rules in PHP so that regardless of the form used the output will be generated in the same simple-table-format?

    Many thanks in advance!

    alexandravonk
    Participant

    Hi,
    I do have the same issue and want to adjust the standard layout of form entries in my email.

    Therefore thanks for posting the guide. However, I do have a little experience with html coding but i’m not experienced enough to build it from scratch.

    Would it be possible to provide an example HTML, so that i could use that as a base?

    Pleased to hear.

    Regards,
    Alexandra

Viewing 3 posts - 1 through 3 (of 3 total)
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy