Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it possible to validate date fields in the customer portal

I just discovered today that customer's can enter dates and times in the date fields on the customer portal that are in the past. For example, they can request a due date that has already passed.

Does anyone know if there is a way to either make it so they can't pick a date/time later than the current time or warn them that they are picking a past date? Also similar is there a way to validate against a date/time, for instance not allow them to enter a due date that's within an hour of the current time?

2 answers

@Lenin Raj Rajasekaran Yeah, in my research I came across those as well, but unless I'm understanding things wrong, they only cover validating in workflow transitions. I don't even want it to get that far. I'd like for the customer to not even be able to make the request if they don't fill in the correct information. It's a pretty standard thing in most online forms out there. FedEx doesn't let you choose yesterday as a ship date, why would I want my customers to be able to choose yesterday as a due date. Waiting until the issue is created wastes time and effort. Instead of a quick little error message coming up when they try to send (like the required fields) my customers won't get notified of their mistake until after the issue is created and if they're not watching their inbox, may not see it until it's too late. I'm not asking to be able to validate all the fields in the customer portal requests (although that would be awesome) I just want to make it so the customer can't put in a request date that's before the current date.

Hi Kimi

You could look at ProForma which gives you the ability to put validations on the customer portal question fields.  That would solve your issue.  It would also give you the ability to allow the customer to edit the fields post submission if an error is made.  (subject of course to agent permission).  There is a free version on the marketplace - ProForma Lite so that may assist.

Just to be upfront, I am from the ProForma team. 

Many thanks

@Kate Caldecott _ProForma_ Coincidently, we happen to be running a trial of the server version of ProForma. (We're running a trial of JSD server and ProForma is one of the apps we're looking at). I saw where you can set a date validation, but I was wondering if it's possible to validate it against the current date as opposed to a set date. Or validate against the current date plus one day.

Hi @Kimi Nakashima 

Unfortunately you can only set earliest and latest date as parameters.  It is a good idea though which we will take on board.  We should allow users to specify either an exact date, or a relative date (i.e. 3 weeks from the current date).  Thanks for giving us that as a suggestion and I am sorry that we could not be assist in this scenario.  Please feel free to reach out as needed.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

Announcing Jira Service Management!

Hello there Cloud Community members! Today, we’re thrilled to announce Jira Service Management, the next generation of Jira Service Desk. Jira Service Management touts advancements in IT service ...

2,171 views 25 38
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you