Contact form '{fieldslist}'
- Kleszewski
- Offline Topic Author
- Platinum Member
- I like playing chess.
- Posts: 529
- Thanks: 16
Hi
I did something like that.
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?
How the '{fieldslist}' field works. Please give an example."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"
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"> </td>
</tr>
</table>
And below the message without styling
What did I do wrong?
by Kleszewski
Please Log in or Create an account to join the conversation.
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
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
- Offline Topic Author
- Platinum Member
- I like playing chess.
- Posts: 529
- Thanks: 16
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?
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?
by Kleszewski
Please Log in or Create an account to join the conversation.
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
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
- Offline Topic Author
- Platinum Member
- I like playing chess.
- Posts: 529
- Thanks: 16
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.
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