form for certain dates and hours?

Issues related to forms.
Post Reply
manuelm
 
 
Posts: 77
Joined: Mon Apr 25, 2016 12:32 pm

form for certain dates and hours?

Post by manuelm »

I want to make a website with a layer and a popup form offering to call the visitor by phone. Up to that point I have no problem. The important thing is that I want that form to only appear from Monday to Saturday from 7 a.m. to 7 p.m.

The data collected in the form must be sent via WhatsApp to a specific number.

Any idea how to do it?
wwonderfull
 
 
Posts: 1440
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: form for certain dates and hours?

Post by wwonderfull »

WWB 19.3 had a new feature for the TIMER tool
- New feature: Added a new "Day of the Week" option to the Timer object. This enhancement allows you to set timers that trigger based on specific days of the week.
For instance, you can use this feature to redirect users to a different page on weekends (Saturday and Sunday).
manuelm
 
 
Posts: 77
Joined: Mon Apr 25, 2016 12:32 pm

Re: form for certain dates and hours?

Post by manuelm »

Is it a free update? The timer I have do not have days option... I have version 19.4.1

How do I proceed in order to update free extensions?
User avatar
Pablo
 
Posts: 22486
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: form for certain dates and hours?

Post by Pablo »

This feature is also available in 19.4.1
User avatar
BaconFries
 
 
Posts: 5648
Joined: Thu Aug 16, 2007 7:32 pm

Re: form for certain dates and hours?

Post by BaconFries »

It is also available in 19.4.1 it is not an extension but a feature in the software. See the following on how to use.An introduction to Timers
If you require the form to be a WhatsApp then see the following thread you previously asked about.
viewtopic.php?p=497523#p497523

If the timer function is not what you need then it will require a custom solution in either php (serverside) ot javascript embedded in the html.
manuelm
 
 
Posts: 77
Joined: Mon Apr 25, 2016 12:32 pm

Re: form for certain dates and hours?

Post by manuelm »

The "Timer" I found in the toolbox does not have the "days" option. So I think I need to update the toolbox. How do I proceed to have the "Timer" with the days option?
User avatar
Pablo
 
Posts: 22486
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: form for certain dates and hours?

Post by Pablo »

This feature was added in version 19.3, so if you have 19.4 then the option should in the list.

If you do not have this option then please make sure you have the latest update installed.
manuelm
 
 
Posts: 77
Joined: Mon Apr 25, 2016 12:32 pm

Re: form for certain dates and hours?

Post by manuelm »

I am pretty sure I have the last update, and the timer in the toolbox do not have days
User avatar
BaconFries
 
 
Posts: 5648
Joined: Thu Aug 16, 2007 7:32 pm

Re: form for certain dates and hours?

Post by BaconFries »

The latest version is WYSIWYG Web Builder 19.4.1 (last update: September 27, 2024) you can download.it from the following https://www.wysiwygwebbuilder.com/download.html
MAX_CDF
 
 
Posts: 17
Joined: Wed Nov 28, 2018 10:11 pm

Re: form for certain dates and hours?

Post by MAX_CDF »

Try restarting the program or reinstalling it.
manuelm
 
 
Posts: 77
Joined: Mon Apr 25, 2016 12:32 pm

Re: form for certain dates and hours?

Post by manuelm »

Now I reinstalled it. Sorry, it seems there is something I don't understand, as English is not my native language. I live in Argentina and I speak Spanish. Trying to better understand how "timer" works, I see that it is possible to determine hours in which an object is available, and on the other hand, days of the week in which it will be available. What I need is that a certain layer or dialog is available from 7 AM to 7 PM, only from Monday to Friday. Is it possible to do that?
User avatar
Pablo
 
Posts: 22486
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: form for certain dates and hours?

Post by Pablo »

I think you can implement this with two timers.
- First always show the dialog, then hide it via timer when it should not be visible.
- Use a a timer to close the popup on Saturday and Sundays.
- Use another timer to close the dialog between 7 PM to 7 AM
manuelm
 
 
Posts: 77
Joined: Mon Apr 25, 2016 12:32 pm

Re: form for certain dates and hours?

Post by manuelm »

Great idea! Thank you Pablo!
Post Reply