Force use of date-picker

Hi Everyone,
Is there a way to force the user to use the date-picker and not type?
I want the user to enter the date only with the date-picker. I do not want him typing at all.
Can it be done?
Many, many Thanks,
Joe

Hi Joe
I got this to work by putting the following in the change event
if (xfa.event.change.length==1)
xfa.event.change = "";
I then added a note in the enter event to advise users to click on the arrow to do this
xfa.host.messageBox("Please click the arrow to your left to select date","Assistance",3)
I am not sure that the code is that great but works for me.  Bear in mind that some users cannot use a mouse which would be the disadvantage of doing this force.
Let me know if it works.
Thanks
Darren

Similar Messages

  • Is it possible to use the date picker in regular PLSQL?

    I would like to use the the date picker but my application is not suited to ApEx.
    Thanks!

    Hi,
    >>>configuration instead of coding etc
    currenly it is not possible to achive it without any coding
    >>>repeat messages with RSNAST00
    RSNAST00 is not used to repeat messages (idocs) but to send them
    try using standard IDOC in your sd invoice scenario
    if you don't want to do any coding
    Regards,
    michal

  • Alternative use of date picker in Forms Builder

    Hi
    I am looking for a way to create event based actions by use of standard functionality.
    I have created a calendar module by use of the Forms Builder. I would like to add a date picker to a “show form” and add some events based on user actions to this page.
    When a date is selected (by a click on a date from the “small” date picker) a new page with events for the selected day should be displayed instead
    Have anyone any alternative experience with the date picker in the end user environment?
    Regards
    John

    Hi there,
    I presume that you want to run a report with date parameters. The parameter form of Oracle Reports has limited capabilities. It certainly does not have a date picker (Calendar). However, you can use SQL to give you a list of dates for the LOV but it will not be elegant.
    If you have Oracle Forms, it can call the calendar for the user to pick the date. The values are then passed to the report as parameters.
    Hope the above helps.
    Best Regards,
    John

  • How to use the date picker in Web dynpro java

    Hi,
    I want to add date picker to enter a date while developing webdynpro application.
    How can i do that.
    Regards,
    H.V.Swathi

    Hi,
    its very simple...
    take a input field and map it to the attribute which data type is of "date". thats it at runtime you will see a input filed with date picker.
    i.e. Add an inputField and bind the context attribute of Type Date to it
    this will show the date picker on screen.
    PradeeP

  • How can use a date picker to fill in dates in Numbers

    I would like to know how can I have cells in date format which I would be able to fill with a date picker fro a calendar?

    There is no date picker gui item in Numbers.  Every idea I thought of in my head took longer then typing.  If you describe your specific problem a little more people may be able to provide some other solutions

  • Force use of data plan

    Went into Verizon WIreless store to buy Unlocked Iphone 5 (I will own outright) and was told that any smartphone must have data plan/
    This seems ureasonable as they do not subsidie the phone in any way and I am willing to spend $650.00 for the phone
       I do not understand how they can tell me what I must have on my phone

    dimap52 wrote:
    It's all going to data eventually anyway. These Shared plans with "unlimited" voice & text are first step along that route. The only reason there is a difference now is that V&T travel over a different type of digital network (circuit-switched) than data does (packet-switched) but that will change once VoLTE is implemented, and V&T will just be another data app.
    Yep Verizon will start offering VoLTE next year of course it will be optional or an add on or something like that at first. But Verizon has said itself that it will be refarming it's 1X and 3G spectrum to LTE by 2021. That just 8 years. Of course they could do it sooner as they said BY 2021. Doesn't they'll wait until then. They could do it next year if they wanted too though It's highly unlikely. Wouldn't shock me if they decided to do it within 5 years.

  • Date selection will not print properly when using Microsoft Date and Time Picker Control 6.0 in Excel 2010

    I have created a field input worksheet in which the user identifies start and end dates for training sessions, using the Date and Time Picker Active X Control.  It works fine on-screen, but when the worksheets are printed, the dates that were selected
    using the date picker calendar print out in an unreadable, huge font.  The large font also appears in the print preview mode.  I've tried modifying various properties in design mode, but nothing that I have tried will correct the problem. 
    Any ideas?

    The DTPicker seems to have some bugs in it when used on a worksheet. I have overcome the above by setting the size properties to the same size as a cell and the Linked cell property to the
    cell under the DTPicker. (Even setting the Linked cell had problems with an error message referring to the Check box property to be set to true so I just set it to true and inserted the linked cell and set the checkbox property back to
    false.)
    Then the VBA code below that Hides the DTPicker after a date is selected and unhides the DTPicker when the linked cell with the date is selected. The code is for 2 DTPickers so you will need to edit to suit your requirements.
    Caveat: If the DTPicker is visible then you can't hide it by selecting the same date again. If this occurs then it is a multi step operation. First select another date and the DTPicker will hide, then click on another cell then back on the cell with
    the date to unhide the DTPicker and then select the correct date.
    Hope it helps and feel free to get back to me with any questions etc.
    Private Sub DTPicker1_Change()
        Me.DTPicker1.Visible = False
    End Sub
    Private Sub DTPicker2_Change()
        Me.DTPicker2.Visible = False
    End Sub
    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
        Select Case Target.Address
            Case "$E$5"     'This is the linked cell for DTPicker1
                Me.DTPicker1.Visible = True
            Case "$E$13"    'This is the linked cell for DTPicker2
                Me.DTPicker2.Visible = True
        End Select
    End Sub
    Regards, OssieMac

  • "Server Busy" error in Crystal Reports XI when using date picker

    Hi,
    I have come across an issue whereby I get a error pop up when using the date picker to select a date parameter as I run a report from within Crystal Report XI on a particular PC. While I am able to type in the date using the yyyy-mm-dd format, selecting the date picker displays an error message titled "Server Error" stating that the program is not responding and giving options "Switch To" and "Retry". Selecting either button displays the same error message and need to kill the application from the Task Manager to restart.
    I have run the same report from other PCs (including using the date picker to pick a date parameter) without the error popping up. All of the PCs have the same version of the application.
    Has anyone come across this and how were you able to resolve it?

    yes test is a formula that i used to calculate a difference
    that should work, but i would put () around the
    (if(remainder(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}),1)>0 and
    remainder(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}),1)<1) then
    truncate(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}))+1
    else ({ztrptActVol.CPT}*{tlkpBblMileage.CPT})
    rounding in crystal is a pain in the &&

  • Opening Date Picker in popup window

    Hi All,
    I'd like to be able to use a Date Picker in a custom popup window that I've developed. When I open the date picker however, because I'm already in a popup window the date picker fills the whole of the custom popup, rather than opening in its own window.
    Is there a way to force the date picker into using a new window?
    Thanks,
    Mike

    Hi Mike;
    Thanks for the responce. My Tabular (Popup) form is wizard generated. This is the code I use to call the Popup:
    <script language="JavaScript" type="text/javascript">
    <!--
    htmldb_delete_message='"DELETE_CONFIRM_MSG"';
    //-->
    </script>
    <script language="JavaScript" type="text/javascript">
    function callACNEPopup (formItem1) {
    var formVal1 = document.getElementById(formItem1).value;
    var url;
    url = 'f?p=&APP_ID.:60:&FLOW_SESSION.::::P60_ACAC_UID:' + formVal1;
    wACNE = open(url,"winLov","Scrollbars=1,resizable=1,width=675,height=300");
    if (wACNE.opener == null)
    wACNE.opener = self;
    wACNE.focus();
    </script>
    The Calendar is simply a date picker.

  • Date Picker - only allow future dates?

    Does anyone know of a way to control the date picker to only allow the selection of future dates? I would like to force my users to use the date picker, but will need to shade out or grey-out dates less than sysdate+3. This will be used for scheduling payments in the future and should not allow a user to pick a past date or a date within two future days of the current date.
    Thanks in advance for your help,
    Todd

    Vikas,
    I have followed the instructions on that page, but I'm a little unsure about one step. The instructions say, In the HTML Header of the Page Attributes enter "INCLUDE_DHTML_CALENDAR_SCRIPTS"
    My current HTML Header of the Page Attributes has this code:
    <script language="JavaScript" type="text/javascript">
    --(this is commented out) htmldb_delete_message='"DELETE_CONFIRM_MSG"';
    </script>
    I'm not sure where to add the "INCLUDE_DHTML_CALENDAR_SCRIPTS" text. Do I need something before or after that quoted string?
    I'm getting the following error message when I run the page:
    ORA-06550: line 22, column 6: PLS-00103: Encountered the symbol ";" when expecting one of the following: begin case declare end exception exit for goto if loop mod null pragma raise return select update while with << close current delete fetch lock insert open rollback savepoint set sql execute commit forall merge pipe The symbol "exit" was substituted for ";" to continue.
    Error ERR-2904 Unable to set shortcut value.
    OK

  • Date Picker - Page Refresh?

    When using a date picker object (AND a LOV list w/submit in our case), is there a way to make the date picker force a page refresh? Otherwise, charts and/or sql report regions do NOT auto refresh their data when a new date is picked unless the users forces a refresh/submit (or in our case the LOV will do it IF the LOV value is changed too)...

    Hi,
    Have you tried to put into Date Picker HTML Form Element Attributes function onChange="doSubmit();"?
    Val

  • Date Picker error

    Hi,
    We have an application that cannot use the date picker, after a date is selected, the error we get is:
    A runtime error has occurred
    Line:10
    Error: 'opener.document.forms.0.p_t03' is null or not an object
    After a lot of searching around, the developer has narrowed it down to something on the template for some reason, but we are not sure what. If we remove the template, it works fine - but in this case the business wants the standard look and feel - so we are stuck with having to use it.
    Below is the header, body and footer sections of the offending template - anyone have any idea of what could cause the problem with the date picker?
    Header:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>#TITLE#</title>
    #HEAD#
    <meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" />
    <meta name="description" content="Monash University Research Output Reporting Tool" />
    <meta name="keywords" content="research, RORT, reporting" />
    <link rel="stylesheet" href="http://assets.monash.edu.au/styles/monash.css" type="text/css" />
    <link rel="stylesheet" href="http://assets.monash.edu.au/styles/print.css" media="print" type="text/css" />
    <link rel="shortcut icon" href="http://www.monash.edu.au/favicon.ico" />
    <link rel="stylesheet" href="#IMAGE_PREFIX#css/einstein.css" type="text/css" />
    <script src="#IMAGE_PREFIX#javascript/functions.js" type="text/javascript"></script>
    </head>
    <div id="accessibility">
    Skip to content | Change text size
    </div>
    <div class="spacer"></div>
    <!-- S I T E I D E N T I F I C A T I O N -->
    <div id="global-header">
    <div id="global-images">
    <img id="logo" src="http://assets.monash.edu.au/images/logo.gif" width="343" height="79" alt="Monash University" /><img id="banner-image" src="http://assets.monash.edu.au/images/banner-research.jpg" width="288" height="79"
    alt=" " title="" />
    </div>
    <div class="spacer"></div>
    <!-- G L O B A L N A V I G A T I O N -->
    <table id="global-nav" summary="Layout for site-wide navigation">
    <tr><td>
    Monash home | About Monash | Faculties | Campuses | <a
    href="http://www.monash.edu.au/contact/">Contact Monash</a>
    </td></tr>
    </table>
    <!-- U T I L I T Y N A V I G A T I O N -->
    <table id="global-utils" summary="Layout for utility navigation">
    <tr>
    <td>
    Staff directory | A-Z index | Site map  
    </td>
    <td id="global-utils-form">
    <form action="http://ultraseek.its.monash.edu.au/query.html" method="get" name="seek1" id="seek1">
    <input type="hidden" name="rq" value="0" />
    <input type="hidden" name="col" value="m0" />
    <input type="hidden" name="qs" value="-monash.access:intranet -monash.access:emailarchive" />
    <label class="search" for="qt">SEARCH </label>
    <input type="text" id="qt" name="qt" size="20" maxlength="1024" />
    <input type="hidden" name="qp" value="" />
    <input name="submit" type="submit" accesskey="1" value="Go" />
    </form>
    </td>
    </tr>
    </table>
    <body #ONLOAD#>#FORM_OPEN#
    <H1><CENTER>MRGS EXAMINATIONS</CENTER></H1>
    Body:
    <!-- S K I P L I N K A N C H O R -->
    <a name="content" id="skiplink"></a>
    <div align="right">
    <table class="std">
    <tr><td align="left" width="10%" valign="bottom" nowrap="nowrap"><span class="PortletHeading2">&USER.</span></td><td style="padding-left:30px;">#NOTIFICATION_MESSAGE# #SUCCESS_MESSAGE#</td></tr></table>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="TabForegroundColor">
    <tr><td class="TabForegroundColor"><img src="#IMAGE_PREFIX#f_spacer.gif" border="0" height="3" alt="" /></td></tr>
    </table></div>
    </td>
    </tr>
    <tr>
    <td width="100%" colspan="3">
    <div class="th_content_body">
    #REGION_POSITION_01#
    <tr>
    <td style="padding-right:10px;padding-left:10px;" valign="top">#REGION_POSITION_02#
    </td>
    </tr>
    <table width="100%">
    <tr><br>
    <td width="25%" style="border-right:2px #000099 solid;padding-left:10px;" valign="top">#REGION_POSITION_03#
    </td>
    <td style="padding-right:10px;padding-left:10px;" valign="top">#REGION_POSITION_04#
    </td>
    <td valign="top" width="100%" style="padding-left:20px;padding-left:20px;">
    #BOX_BODY#</td>
    </tr>
    <tr>
    <td></td>
    <td style="border-style:solid;border-width:thin;border-color:black;padding-right:10px;padding-left:10px;" valign="top">#REGION_POSITION_07#
    </td>
    </tr>
    </table>
    </div>
    #REGION_POSITION_09#
    </td>
    </tr>
    <tr>
    </table>
    Footer:
    #FORM_CLOSE#
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="TabForegroundColor"><tr>
    <td class="TabForegroundColor"><img src="#IMAGE_PREFIX#f_spacer.gif" border="0" height="3" alt="" /></td></tr>
    </table>
    <table width="100%"><tr><td align="right" class="tiny"> #CUSTOMIZE# </td></tr></table>
    Copyright &copy; 2003 <FONT COLOR=#606060><U>Monash University</U></FONT> ABN 12 377 614 012 - <FONT COLOR=#606060><U>Caution</U></FONT> - <FONT COLOR=#606060><U>Privacy</U></FONT> - <FONT COLOR=#606060><U>CRICOS
    Provider Number: 00008C</U></FONT>
    Last updated: 10 August 2004 - Maintained by <FONT COLOR=#606060><U>[email protected]</U></FONT> - <FONT COLOR=#606060><U>Accessibility information</U></FONT>
    </body>
    </html>

    i think the calendar runs through a specific dll file. you may want to search to make sure all the dlls are installed. or re-install the software

  • Date Picker Problem in BPM VC reports

    Hi All,
    we have created a VC report, which shows the BPM Process information for certain group of users. this is working fine. We are supposed to give some filtering options to the user so as to reduce the amount of records retrieved. We have to filter based upon the process start date (this value is a defalut parameter available when we create a new data source).
    This date is coming in M/D/YY format (ex. 1/1/11). If I use a date picker UI, its date is coming in MM/DD/YYYY format. Due to this the filtering is not working.
    Can some body help me how can I make this work.
    Regards,
    SrinivaS

    Hi All,
    I solved my problem. I added a new Action on submit of type "Assign" and used the below expression for conversion.
    =(DSTR(@STRTDTCUST_From,"M/D/YY")&" - "&DSTR(DADD(@StartDate_To,1,"D"),"M/D/YY"))
    SrinivaS

  • UIX Javascript Error with Date Picker

    Hi all,
    I am using JDeveloper 10.1.2.1.0 with JHeadstart 10.1.2.2.32 to create UIX pages. I have a page with a filter by search field. If I select the date picker on this page in IE version 6 or 7, I get the following javascript error:
    Error: 'length' is null or not an object
    I have found this in the Common2_2_20.js, which is part of the jslibs
    function _accumulateNumber(
    a0,
    a1
    var a2=a0.currIndex;
    var a3=a2;
    var a4=a0.parseString;
    ***var a5=a4.length;***
    if(a5>a3+a1)
    a5=a3+a1;
    var a6=0;
    while(a3<a5)
    var a7=parseDigit(a4.charAt(a3));
    if(!isNaN(a7))
    a6*=10;
    a6+=a7;
    a3++;
    else
    break;
    if(a2!=a3)
    a0.currIndex=a3;
    return a6;
    else
    return(void 0);
    }With Firefox 1.5.0.4, I can get the date selector window to open, but when I select a date value, I get this javascript error:
    a0.select() is not a function
    I have found this in the Common2_2_20.js also. Here is the code where the error is occuring.
    function _dfsv(
    a0,
    a1
    if((a0==(void 0))||(a1==(void 0)))
    return;
    a1+=_getTimePortion(a0);
    var a2=new Date(a1);
    var a3=_getDateFieldFormat(a0);
    var a4=a0.value;
    var a1=a3.format(a2);
    if(a0.value!=a1)
    if(a0.onchange!=(void 0))
    if(_agent.isIE)
    a0.onpropertychange=function()
    var a5=window.event;
    if(a5.propertyName=='value')
    a0.onpropertychange=function(){};
    a0.onchange(a5);
    a0.value=a1;
    else
    a0.value=a1;
    var a5=new Object();
    a5.type='change';
    a5.target=a0;
    a0.onchange(a5);
    else
    a0.value=a1;
    ***a0.select();****
    a0.focus();
    }I am able to use the date picker on other pages and even different parts of this page. The date search field is of type dateField.and is part of a switcher. Does anyone have any ideas as to why this is occuring or how I can work around it? Thanks in advance. I really appreciate all of your help.
    Susan

    Thanks for the reply. As a matter of fact, in my case the error happens in a UIX page generated by JHeadstart. I did some JavaScript debugging using the FireBug Firefox entension and I found that it is some JHeadstart JavaScript that causes this problem.
    The JHeadstart JavaScript passes on an array of input elements to the AFD JavaScript function and the problem arises when the select() method is called on the array, rather than an input element in the array.
    I will try to solve my issue by modifying the JHeadstart JavaScript code. Please see the JHeadstart forum somewhere in the near future for my post(s) about this :-)
    Thanks, Wouter

  • ADF Swing 11g - How to bind date picker

    Hello,
    My Swing application needs to use date picker control, and I decided to use JCalendar from www.toedter.com.
    Is there any example on binding such Swing component? Or are there other date picker control that can easily integrate into JDev and ADF for that matter?
    Thanks
    Regards,
    Rudi

    Mmm well i don't know if this can help you
    I am using a date picker too, this is the code where I use it
    <af:selectInputDate label="#{bundle[\'newPatient.birthday\']}"
                                          required="true"
                                          requiredMessageDetail="#{bundle[\'newPatient.validate.birthday\']}"
                                          binding="#{PatientCreateBean.birthday}"/>My binding property is PatientCreateBean.birthday
    and birthday is type CoreSelectInputDate
    I got info about the different elements to use in ADF from the following link
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/imageIndex.html
    I hope this can help you

Maybe you are looking for

  • Adobe Muse CC has encountered an error and will now exit.

    Muse is not loading, comes up with the message below. I have tried re-installing but still comes up with the same message. Has anyone else encountered this and any ideas on how I can get the damn thing working again?

  • Using document function in xsl template - not working in BI Publisher

    Hi, I have a requirement where I need to display the data in one xml file based on the contents of a second xml. I am using Oracle BI Publisher 10.1.3.4.1 and template used for report generation is xsl-fo. 1) ReportData.xml - contains the data xml 2)

  • Looking for a Feature

    Is there a way to force a number entered to be an integer greater than 0? [email protected]

  • 2008 mac pro shuts down over night with os 10.9.5

    Updated clean install of OS 10.9.5 to new HDD on my 2008 Mac Pro running 10.6.8 via the app store:  The Mac seems to shut down over night.  Not overheating.   Energy Saver, Computer sleep set to Never, and Display sleep set to Never.  Screen saver se

  • Desktop disk icons

    After installing XP-Pro in BOOTCAMP for OSX 10.6.8, I have no disk icons on the desktop. I tried installing three times with the same results. Otherwise, Windoze seems to run OK. /Bob