Show Element - Date Operator - Post...

User 412479 Photo


Registered User
45 posts

I have a form (will attach photo as it's in a member's only area of website) that has 3 payment options, depending on the date (Early Bird Rate, Regular Rate & Late Rate). Client now wants payment amounts unavailable if the date has passed (i.e., Early Bird Rate would not be available 02/01/2015 & after). I've never used a Display Rule before.

On new form I'm working on, I have added a "Magical" Date element above the "Sales Booth Option" line. Now I'm confused as to how to proceed. Any help will be appreciated and suggestions of a better/more simple way are most welcome!

The way I'm going at the moment with the date (made it required) added, I can add Display Rule to say if radio48 is $320 (or $346, or $397) and Today's Date is "" the only option for Today's Date is "empty". So the code for the first option (Early Bird paid in full by 01/31/15 $320) is: ( ( [radio48] is "$320" ) and ( [TodaysDate] is "" ) ) How would I make it where "and TodaysDate" is 02/01/15 or later and the $320 option will not be able to be clicked?

Thanks so much in advance for your assistance :)
User 412479 Photo


Registered User
45 posts

Any advice at all? I'm fixing to have to make 3 forms and rotate them out every couple months because I just can't figure this one out on my own.
User 271657 Photo


Ambassador
3,816 posts

Sorry Volfan! Somehow we missed your question. :o
I'm hoping Eric or Brian will come along soon, they would be most likely to figure out a solution for you.

I'll keep an eye out to make sure some one responds so we don't leave you hanging. :D
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 187934 Photo


Senior Advisor
20,271 posts

Is this form on your own host or S-Drive? If it's on your own host I would use one element input for the payment option and then use php to change it based on the date. If it's on S-drive you'll need a little JQuery to accomplish this.
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 412479 Photo


Registered User
45 posts

Thank you paintbrush. I should have bumped it up before 2 weeks had passed but didn't think about it not being seen and din't want to look like I was hounding anyone LOL

Eric, it's on their own hosting. Could you give me steps about using PHP to change it based on dates? This is a bit deeper than I've gone with a form before.

I think I'm going to have to redo the form again, I just finished the first re-do and have a regex that messed up, put in another one and the messed up one won't delete. Doggone that's a freaking long form to do so many times. ha!
User 187934 Photo


Senior Advisor
20,271 posts

Can you share your .fb file or a link to your form?
I want to make sure how your elements are structured.
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 187934 Photo


Senior Advisor
20,271 posts

Like this?
http://progrower.coffeecup.com/forms/disable-by-date/
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 412479 Photo


Registered User
45 posts

Eric Rohloff wrote:
Can you share your .fb file or a link to your form?
I want to make sure how your elements are structured.


Shoot, the form is in members only, so I just put a .png of it in my original post. Can I private message login to the site for you to be able to view the form?


Hallelujah! YES just like that!!!!!! Woo, that is amazing!!!
User 412479 Photo


Registered User
45 posts

Oh, yes, I could share the file; however, hard drive crash so I don't have the original one, now I don't have a re-done one since it messed up that regular expression box, I am just now beginning to redo it again :(
User 187934 Photo


Senior Advisor
20,271 posts

I may be wrong but I'm not sure you want to use radio buttons. Do you have yours set to required?
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

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.