Extra Field validations - Post ID 215091

User 2338370 Photo


Registered User
11 posts

Apologies if this has been covered, but I couldnt find it in a search.

Can I add a simple validation to WFB, eg say I have 2 dropdown boxes, one with Start Time , other with End Time.

Can I validate that the Start Time is before the End Time.... same sort of thing with start date and end date.

cheers all,
Mike
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

Really depends on how much control you need. The date has the "Allowed Dates" in the properties tab. Use one for the start and one for the end. The time may need a different approach. A regular expression would work, or make a drop down for the start only have times before the end. A little condition logic could also be used here.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 464893 Photo


Ambassador
1,611 posts

As a thought if you have a start time box and a duration drop down then the finish time is always behind
The Guy from OZ



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.