Flip Switch EVENT
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Flip Switch EVENT
I have a form with 3 Flip Switches with Yes/No settings.
When the 3rd switch is selected I want the value to change from NO to Yes and then display
a Submit button. On the first 2 switches the values change from No to Yes as expected. On the
third the Event triggers properly, but the value stays at NO.
Just wondering what I'm doing wrong?
Clicking on the first field in the form (Marriage Date) hides the Submit button.
ridgley.ca/mltest.php
When the 3rd switch is selected I want the value to change from NO to Yes and then display
a Submit button. On the first 2 switches the values change from No to Yes as expected. On the
third the Event triggers properly, but the value stays at NO.
Just wondering what I'm doing wrong?
Clicking on the first field in the form (Marriage Date) hides the Submit button.
ridgley.ca/mltest.php
Last edited by JohnR on Wed Dec 16, 2020 4:52 pm, edited 2 times in total.
Re: Flip Switch EVENT
The URL does not seem to be valid.
Also note that I cannot see what you have done based on the HTML code.
If you need help, then please provide a demo project.
Also note that I cannot see what you have done based on the HTML code.
If you need help, then please provide a demo project.
Re: Flip Switch EVENT
I did indeed have an error in the link - that has been corrected.
How do I attach the project?
How do I attach the project?
Re: Flip Switch EVENT
Please see this related FAQ:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=82134
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=82134
Re: Flip Switch EVENT
I uploaded the file - testing.wbs to my server.
Website ridgley.ca
Website ridgley.ca
Re: Flip Switch EVENT
What is the full URL of the file?
Re: Flip Switch EVENT
Sorry, but this link does not work for me.
Re: Flip Switch EVENT
I uploaded the file testing.wbs to the same server / folder my website, ridgley.ca, is on.
I guess I'm unsure as to what you're looking for. I can provide the IP address, but that would require
you having User ID / Password to access the folder.
I guess I'm unsure as to what you're looking for. I can provide the IP address, but that would require
you having User ID / Password to access the folder.
Re: Flip Switch EVENT
When clicking on your link I'm getting a 404 error. Maybe .zip the file up and then upload the .zip folder to your root folder and supply a link to this zip folder.
Re: Flip Switch EVENT
I'm looking for the file 'testing.wbs'
However, it is not at the specified location:
www.ridgley.ca/testing.wbs
Maybe it's in a different folder?
However, it is not at the specified location:
www.ridgley.ca/testing.wbs
Maybe it's in a different folder?
Re: Flip Switch EVENT
I created a folder called 'test' and placed a zipped version of testing.wbs in it.
www.ridgley.ca/test should give you what want.
www.ridgley.ca/test should give you what want.
- BaconFries
-
- Posts: 5653
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Flip Switch EVENT
Thanks for the project.
You did not add 'return true' as documented here:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=37833
You did not add 'return true' as documented here:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=37833
Re: Flip Switch EVENT
I have added the java script and the Switch now toggles, but the second Event,
which is 'Show' doesn't activate. I changed the order of the Events, but it does
not seem to make a difference.
which is 'Show' doesn't activate. I changed the order of the Events, but it does
not seem to make a difference.
Re: Flip Switch EVENT
'Show' should be the first event. 'return true' is always the last.
I have tried this wot your project and it works.
I have tried this wot your project and it works.