This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Aug 7, 2013, 6:12 PM
11 Posts

setting constraints for djDateTextBox

  • Category: Dojo and Client Side JavaScript
  • Platform: Windows
  • Release: 8.5.3
  • Role:
  • Tags: djDateTextBox
  • Replies: 0

Is there any way to set constraint such a way that users will not be able to type any characters in xe:djDateTextBox control?  I have tried  following for inputText :

<xp:inputText id="totalDays"
            style="width:25px" onkeydown="return false;"
            onkeypress="return false;">

But I am not able to find some events/code where I can control users inputting into the djDateTextBox control. I have tried below but didn't work :(

<xp:inputText id="inputText1" dojoType="dijit.form.DateTextBox" onkeydown="return false;"
            onkeypress="return false;"></xp:inputText>

 

Please help me....

 


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal