Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
Hi Everyone\!

...



I need to display a file upload section only if the deadline has not been reached.

...

Is something like this possible in Beanshell Permission and how would I do it?:

Code Block


Deadline is stored in #form.assessments.deadline\[{requestParam.assessmentid}\]#

Is something like this possible in Beanshell Permission and how would I do it?:


{code}
if(today > deadline){
     return false;
}else{
     return true;
}
{code}