SOLVED

Hide form after X time

Go to solution
Anonymous
Not applicable
Is there a possibility to hide an embedded form at a certain date - because I want subscriptions to stop by then
Tags (1)
1 ACCEPTED SOLUTION
Josh_Hill13
Level 10 - Champion Alumni
Do you mean the whole page or the form on the page?
  • Page - there is no automated way, you'll have to disable the page when you want.
  • Form - Might be possible to do this with javascript and time-date info.

View solution in original post

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator
@Yannick you could embed the expiry date in a (CSS-)hidden field, and that way it would follow the form instead of having to be hard-coded in JS.  Then your JS can check the expiration date before unhiding the form.
Anonymous
Not applicable
Thanks Josh but I was hoping for an automated way - even if I work with JS I also have to manually change it for every event... would be a nice feature
Josh_Hill13
Level 10 - Champion Alumni
Do you mean the whole page or the form on the page?
  • Page - there is no automated way, you'll have to disable the page when you want.
  • Form - Might be possible to do this with javascript and time-date info.