Skip to main content
February 10, 2015
解決済み

Hide form after X time

  • February 10, 2015
  • 3 の返信
  • 1529 ビュー
Is there a possibility to hide an embedded form at a certain date - because I want subscriptions to stop by then
このトピックへの返信は締め切られました。
ベストアンサー Josh_Hill13
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.

3 の返信

Josh_Hill13
Level 10
February 10, 2015
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.
February 10, 2015
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
SanfordWhiteman
Level 10
February 11, 2015
@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.