I want to change the text “This field is required”
[image]
I want to change the text “This field is required”
[image]
Hello there @ilker_arslan
Sure! You can easily do this in the Language section on the Settings tab of your widget’s settings. Just click Edit Text and adjust it to your liking:
I want it for a pop up application and there is no such setting here.
Max via Elfsight Community <notifications@elfsight.discoursemail.com>, 25 Haz 2024 Sal, 16:04 tarihinde şunu yazdı:
Got it!
This code should help:
[class*=‘FieldComponent__FieldLayout-sc’]:first-child [class*=‘FormFieldLayout__Error-sc’] {
font-size: 0;
}
[class*=‘FieldComponent__FieldLayout-sc’]:first-child [class*=‘FormFieldLayout__Error-sc’]:after {
content: ‘new error1’;
font-size: 13px !important;
}
[class*=‘Layout__Error-sc’] {
font-size: 0;
}
[class*=‘Layout__Error-sc’]:after {
content: ‘new error2’;
font-size: 14px !important;
}
Replace new error1 and new error 2 with your own text to replace the error messages in your widget:
Add this code to the Custom CSS field on the Settings tab of your widget’s settings and let me know if it helped
unfortunately there was no change
Max via Elfsight Community <notifications@elfsight.discoursemail.com>, 25 Haz 2024 Sal, 16:50 tarihinde şunu yazdı:
Hi there @ilker_arslan
From your screenshot, I see that firstly you’ve added the code incorrectly, but now everything is working fine:
Let me know if you have any further questions
Thank you, I have one more question. The numbers from here reflect the time differently in Google spreadsheets. Where can I change the time settings?
Max via Elfsight Community <notifications@elfsight.discoursemail.com>, 26 Haz 2024 Çar, 13:10 tarihinde şunu yazdı:
The time here is not compatible with the country
ilker arslan <mscmedikalilker@gmail.com>, 27 Haz 2024 Per, 10:36 tarihinde şunu yazdı:
Hi there @ilker_arslan
The time in Google Sheets is displayed in UTC. To display the time in your time zone, you should follow these steps:
Thanks, problem solved.
Can I put the buttons side by side in the image I sent?
Max via Elfsight Community <notifications@elfsight.discoursemail.com>, 27 Haz 2024 Per, 14:00 tarihinde şunu yazdı:
I’ve forwarded your request to the devs!
I’ll get back to you once I receive a response from them
Hello, I have two questions for you. The first one is related to a pop-up form that sends phone numbers and dates to Google Sheets, but it doesn’t include the URL from which the pop-up was triggered. How can we add this?
ilker arslan <mscmedikalilker@gmail.com>, 27 Haz 2024 Per, 16:06 tarihinde şunu yazdı:
Hi there @ilker_arslan
Here is the CSS code to display buttons next to each other:
/* To display buttons in 1 row */
[class*="BuilderBlock__Content-sc"] {
display: grid !important;
grid-template-columns: repeat(2, 1fr);
}
[class*="BuilderBlock__Content-sc"] > div {
grid-column: span 2;
}
[class*="BuilderBlock__Content-sc"] > div:nth-child(3),
[class*="BuilderBlock__Content-sc"] > div:nth-child(4) {
grid-column: span 1;
}
/* To increase the space between buttons */
[class*="BuilderBlock__StyledWidgetBackground-sc"] {
padding-left: 20px !important;
padding-right: 20px !important;
overflow-x: hidden !important;
}
Try it out and let me know how it worked
As for your question, they’ll try to customize your widget this way. I’ll let you know once any news comes up!
Dear [Recipient’s Name],
We have implemented a pop-up widget on our website. To ensure accurate data, we need to exclude our employees’ IP addresses from the analytics.
Please ban the following IP addresses:
Thank you for your help.
Best regards,
Max via Elfsight Community <notifications@elfsight.discoursemail.com>, 28 Haz 2024 Cum, 13:22 tarihinde şunu yazdı:
If I understand right, you want to prevent counting views from your employees.
There’s actually a way to keep your own views from being counted. To do that, you need to make sure you’re logged in to your Elfsight account on the same device and browser that you use to work with your website.
I hope this explains things
If I misunderstood you, please describe your case in more detail and I’ll be happy to check things for you!
You misunderstood me. 10 people working in our e-commerce company actively enter our website from the same wifi and browse between pages. Since our sales are made by phone, customer representatives and content managers constantly visit the product pages. The widget I installed on all product pages is for this reason, every page is opened. We consume most of the credit because it counts. We do not want this widget to appear in certain IPs or to not count the clicks from some IPs. Thank you.
Max via Elfsight Community <notifications@elfsight.discoursemail.com>, 28 Haz 2024 Cum, 18:20 tarihinde şunu yazdı:
Got it, thanks!
Unfortunately, it’s impossible to block IP addresses in order to not display the widget/ prevent click counting. I am really sorry
We already have such a request in the Wishlist. You can keep an eye on it here - IP Address Block.
Do you understand what I mean? We buy your service, we use it, we buy it, you say 50 thousand views, 10 people work in our company and half of it is spent by our staff. It is unreasonable for us to receive this service in this way, it is not a service that is used properly.
Max via Elfsight Community <notifications@elfsight.discoursemail.com>, 1 Tem 2024 Pzt, 13:19 tarihinde şunu yazdı:
@ilker_arslan As I’ve mentioned above, you can prevent counting the views of your employees. To do this, they just need to be logged in to your Elfsight account on the same device and browser that they use to work with your website.
Please let me know if this clarifies the situation or if you have any further questions
Hi there @ilker_arslan
Our devs have found a way to send the popup page URL to your spreadsheet. To do this, please add the code below to the Custom CSS field:
[class*="FormFieldLayout__Container-sc"]:last-child {
display: none;
}
And this code should be added to the Custom JS field on the Settings tab of your widget’s settings:
const waitForElement = (selector, root = document) =>
new Promise((res) => {
let i = 0;
const check = () => {
const component = root.querySelector(selector);
if (component) {
res(component);
} else if (i !== 50) {
setTimeout(check, 100);
i++;
}
};
check();
});
const config = { childList: true };
const callback = () => {
const popup = document.querySelector(
'.eapps-popup-36d0e143-799f-4249-a553-1ce97b8410ae-custom-css-root'
);
if (popup) {
//const input = popup.querySelector('[class*="FormFieldLayout__Container-sc"]:last-child input');
widget.setFieldValue('[short-text]', window.location.href);
}
};
const observer = new MutationObserver(callback);
waitForElement('body').then(() => {
const targetNode = document.getElementById('body');
observer.observe(targetNode, config);
});
Give it a try and let me know how it worked