Expand my Community achievements bar.

script to disable form after certain date

Avatar

Level 3

does anyone have a script to disable a form after a certain date?

I.e. with forms that are costantly being updated with new data and variables, I need a way to prevent the form from being used after a certain date.

Sounds simple enough but not sure how to go about it.

3 Replies

Avatar

Level 10

Hi,

I don't think I have a script/example, but I think I did something similar for a proposal once. 

It wasn't high tech and was based on comparing a set date against the system date. If the system date was beyond the set date, the script hid the main pages and change the presence of a warning page to visible instead. This told  the user that the form had expired and to contact us. I'd have to dig it out and dust it down.

It is not a very secure method.

  • if the user changed the system date, then the form could be opened.
  • if the user got the form opened in LC Designer they could delete the script.

Adobe do have a Rights Management component, but this is high end.

Niall

Avatar

Level 3

Hey Niall,

That sounds like something I could work with if you can post it.

Im not really looking for something air tight, just to make it difficult to use after a certain time frame and I think that this may be the solution

Thanks

Avatar

Level 10

Hi,

I have put a sample up here: http://assure.ly/frjYW5

Hope that helps,

Niall