carcayu80
Forum Replies Created
-
Sorry, even adding your js excluding lines, and other ones provided by wp rocket, the form doesnt show. See this:
https://www.loom.com/share/cc08de17eaef4195b3ff4700e2da5165?sid=d9e1bf8a-12d4-48a1-b21c-4b802d9a9ac4
What it happens is that, if I see the non cached version of the page (the first one in the video) the form will show after 1-2 seconds, as I use the load Ajax option to avoid cached issues.
BUT
The second url is the cached version of the page. And the form does not show (I use the Delay Javascript execution of WP Rocket) until I move the mouse, which is not what I want. I have tried to avoid it using all this exclusions, with no result:/wp-content/plugins/forminator/assets/forminator-ui/js/((.*).)min.js /wp-content/plugins/forminator/assets/forminator-ui/js/((.*).)js /wp-content/plugins/forminator/assets/js/library/((.*).)min.js /wp-content/plugins/forminator/assets/js/library/((.*).).js /wp-content/plugins/forminator/build/front/((.*).)min.js /wp-content/plugins/forminator/build/front/((.*).)js /wp-includes/js/jquery/jquery.min.js /wp-includes/js/jquery/jquery-migrate.min.js forminatorFront /forminator/build/front/front.multi.min.js /forminator/assets/js/library/jquery.validate.min.js /forminator/assets/forminator-ui/js/forminator-form.min.js /forminator/assets/forminator-ui/js/select2.full.min.js /wp-includes/js/jquery/ui/datepicker.min.js /wp-includes/js/dist/vendor/moment.min.js
Sorry, brand new father, not enough time to answer before.
Thanks a lot, It works perfect. Its incredible the support you give, keeping in mind it is a free plugin. Indeed, best support even than other paid pluginsSorry, one more thing: It seems it doesnt change the date in the subject. I mean, also in “e-mail notification” -> “Subject” I add the {date-1} code
Thanks a lot. It works like a charm.
In case I’d like to change it for all forms, I’ve just to delete the “if” sentence, is that right? I mean:<?php add_filter( 'forminator_custom_form_mail_admin_message', 'wpmudev_show_formatted_date', 10, 5 ); function wpmudev_show_formatted_date( $message, $custom_form, $data, $entry, $cls ) { preg_match_all('/\d{2}\/\d{2}\/\d{4}/', $message, $matches); foreach ( $matches as $date ) { if ( ! empty( $date ) ) { foreach ( $date as $key => $val ) { $message = str_replace( $val, date( 'F j, Y', strtotime( $val ) ), $message ) ; } } } return $message; }
Thanks! Just another question. We have both american and non american but english speaking clients. It is important to be clear things like the start date of a trip, for example.
We use visual calendar to pick the day, but that date must be written like a text when sending e-mail confirmation, obviously.
If a use datepicker
Label > Calendar
and then
Label> Date format,
Only formats like “d-m-Y, d/m/Y”, etc are available. I mean, only numbers
Is there any way to specify a date format in e-mail confirmation like “January 4, 2023” (F j, Y)?So there will be no doubt if the firt is the month or the day of the start date.
Thanks in advance
Correct. And It can be only done now selecting tuesdays, fridays and sundays as available weekdays and then manually blocking a lot of days for frdays and sundays
Thanks. The thing is varnish cache is loaded now, but with dinamic cache option disabled.
I dont get the staging proposal. I have an english version of the website with cf7 plugin instead and same structure. Would It be ok to put your plugin there and an example Page and see what happens?
The problem is varnish flush automatically every 24 hours, so I could say to you “hey, check It now” and maybe you would check It after the flush.
I have no idea about coding, but maybe you could Tell me how to do a full plugin conflict test so I could give to you the test log?
- This reply was modified 2 years, 4 months ago by carcayu80.
Fine, I get it.
Just one more question. Is there any limit with html templates? I mean, the language thing was only an example.
The real thing is we are a travel agency and we have, lets say, 20 one day trips. And we have a form in the trip page to ask for a quote, and a button for a “book now!” page. All the trips will have the same book now page destination with the same form, but different query.
The button to the book now page is something like “URL/?trip=XXX” so “trip” will be a query that define what the form should show.
So, keeping in mind will send an e-mail to the client, one more to us, your are saying I have to define like 20×2= 40 email templates.
Is it possible?
One more thing. All the e-mails and form have the same fields, I mean:
{select-1}
{html-1}
Kind Regardsor
{select-1}
{html-2}
Kind Regardsetc
But, keeping in mind we will have like 20 different {html} references, is there any way to redefine the html reference,so instead having {html-1}, {html-2},…{html-20}, having something like {html-paristrip}, {html-lyontrip}, … {html-marseilletrip}?
Sorry, but it doesnt give an elegant e-mail.
If I use {all_fields} macro, then it will include all shown in form, even things like “acceptance” or “hidden queries”. And this e-mail will be sent to the client.
Also, It limit the style of the e-mail, because it will also show labels name etc.
Is there any way to make a form when I put a number of {references} that will be shown in the e-mail, UNLESS not visible because of conditional logic?
Thanks!
Sorry, other thing.
I put “max height: 60px” in text area, in forminator options.
Why it is like 140 px then?
Sorry, an update. This kind of code:
/*formiator button mobile issue*/
@media all and (min-width:320px) and (max-width: 768px) {
#forminator-module-33062 {overflow:hidden;}
}Is only useful if the number of the contact form is “33062”. As soon as I duplicate this, then it is not useful
How can I do to enable this fix for ALL forms?
Thanks a lot Patrick, now it is working!
By the way, if you consider other third party mailing integrations for the future, mailrelay (mailrelay.com) is a newsletter service very used in Spain.
Thanks again!
Thanks! At the end something more I had to add:
.forminator-row.forminator-row-last {
margin-bottom:0px !important;
}Sorry but, this is because of my theme o the plugin? I mean, If I update the plugin but not the theme, this is something I’ll have to fix every time I update your plugin, or with this CSS custom codes I will be able to update the plugin without worries?
Ok, I got it. I did it in a different way, adding it as a separate widget.
You can see it here for example:
https://www.sientemarruecos.viajes/blog/ouarzazate-que-ver-origen/
Just one more thing (and I think it is the last one :P). It seems general bottom margin in forminator has a different behavior in desktop and mobile. You can see there’s much margin in desktop mode between “suscribirse” submit button and “Sitios recomendados” title, but very little in mobile. This is not happening in the rest of the elements in the lateral menu.
How can I fix this?
- This reply was modified 2 years, 10 months ago by carcayu80.