Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

How to reset a DATE field on a request type to null

Highlighted
dare3219
Acclaimed Contributor

How to reset a DATE field on a request type to null

I am trying to create a new request type rule that will reset a DATE field to null (blank) when certain criteria are met.  

 

I have tried using the SQL Default query "SELECT '-','-' FROM DUAL" which sets the date field to Nov 30 1899.  Unforunately, the request accepts this value when the form is submitted.  

 

Is there some way to force the field to reset to null?...which would then force the user to enter a new value before submitted the request?

2 REPLIES
Derek Giedd
Frequent Visitor

Re: How to reset a DATE field on a request type to null

This works fine:

 

SELECT null, null from dual

-- Remember to give Kudos to answers! (click the KUDOS star)
dare3219
Acclaimed Contributor

Re: How to reset a DATE field on a request type to null

Thanks!...I must have used the incorrect syntax on my first attempt

//Add this to "OnDomLoad" event