Contact form '{fieldslist}'

  • Kleszewski
  • Kleszewski's Avatar Offline Topic Author
  • Platinum Member
  • Platinum Member
  • I like playing chess.
  • Posts: 529
  • Thanks: 16

Contact form '{fieldslist}' was created by Kleszewski

Posted 3 years 10 months ago #56778
Hi

"but if you use the textarea in the form options, where you must load '{fieldslist}' , you can wrap arround any html code and do what you want"

How the '{fieldslist}' field works. Please give an example.
I did something like that.
Code:
<table width="50%"> <tr> <td bgcolor="#009966">Witaj dostałeś wiadomość :) </td> </tr> <tr> <td bgcolor="#009966">Od: {name}</td> </tr> <tr> <td bgcolor="#009966">Email: {E-mail}</td> </tr> <tr> <td bgcolor="#009966">Temat: {Subject}</td> </tr> <tr> <td bgcolor="#009966">Wiadomość: {message}</td> </tr> <tr> <td bgcolor="#009966">&nbsp;</td> </tr> </table>
And I received a message with two views. In the first position, the table but instead of the message only the names {fieldslist}
And below the message without styling
What did I do wrong?

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Contact form '{fieldslist}'

Posted 3 years 10 months ago #56783
Hi
the tags {name} and others that you are using do not work. Only the tag {fieldslist} is working
The problem is that you can add many custom fields in your form and for now the ability to get the individual fields in your message is not implemented

You can use something like
[code]<div style="...">{fieldslist}</div>[code]

I add this on my (long ?) list to check how I can do that to use individual tags
CEd

Joomlack Webmaster and Developer

by ced1870
The following user(s) said Thank You: Kleszewski

Please Log in or Create an account to join the conversation.

  • Kleszewski
  • Kleszewski's Avatar Offline Topic Author
  • Platinum Member
  • Platinum Member
  • I like playing chess.
  • Posts: 529
  • Thanks: 16

Replied by Kleszewski on topic Contact form '{fieldslist}'

Posted 3 years 10 months ago #56785
Hi
thank you for your explanation.It is a pity, because I got used to another situation in the components "contact" I enter the name of the field in brackets {} and it returns the result. Very useful

But this html result, which I receive by email, is formatted somewhere :). Could I find out what file this is happening in?

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Contact form '{fieldslist}'

Posted 3 years 10 months ago #56786
the html is coded directly in the PHP file (helper) in the plugin "pagebuilderck" >> "contact2"
I understand your request. For information, this addon was not designed to replace existing form extensions, it was just designed to allow a fast and easy way to create a contact form.

As said, this is added to my list, I will check in a near future how I can improve that

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

  • Kleszewski
  • Kleszewski's Avatar Offline Topic Author
  • Platinum Member
  • Platinum Member
  • I like playing chess.
  • Posts: 529
  • Thanks: 16

Replied by Kleszewski on topic Contact form '{fieldslist}'

Posted 3 years 10 months ago #56787
I understand you perfectly. Everything works great, it's a great addition. But I want to get only one simple effect. I want to change the appearance of the information received from the contact form. Nothing more. :) . Best regards and have a nice day ;)
Last Edit:3 years 10 months ago by Kleszewski
Last edit: 3 years 10 months ago by Kleszewski.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Contact form '{fieldslist}'

Posted 3 years 10 months ago #56789
you can try to add a <style> tag and use the CSS selector to style the form. It will be added in the code of the email and this shall work

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.647 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 135 guests and no members online