Forms 11g auto-complete date field
Hi,
In forms60 we had a few registry keys that made it possible for the end user to type in parts of a date and have it auto-completed.
Example :
The user wants to type in 20/10/2010 but merely had to type in 20<ENTER>
This worked in forms60, is there a way to achieve this in forms 11g?
Thank you
PS: I have already tried
NLS_DATE_FORMAT=DD/MM/YYYY
FORMS_OUTPUT_DATE_FORMAT=DD/MM/YYYY
FORMS_USER_DATE_FORMAT=DD/MM/YYYY
In default.env with no luck.
Dear Christian, yes I am certain.
I just investigated it a little more and it appears it all depends on the following registry keys :
HKLM\Software\Oracle\forms60_user_date_format which has value : ddmmyyyy|ddmm|dd|dd/mm/yy|ddmmyy|dd/mm|dd/mm/yyyy
HKLM\Software\Oracle\forms60_user_datetime_format which has value : ddmmyyyyhh24mi|ddmmyyyy hh24mi|dd/mm/yyyy hh24:mi|ddmm hh24mi|ddhh24mi|dd hh24mi|ddmmhh24mi|ddmmyyyyhh24mi
These appear to define in what formats a user can input a date.
The one I was talking about appears to be about the *|dd|* which would imply the user can input the day and the rest will be autocompleted.
I did find another thread about this issue, but it is for 10g and they never really found out the whys and hows...
Date field in 10g Form
Thanks for your help.
Similar Messages
-
Create an InfoPath Form to Auto Populate Data in SharePoint 2010
In Anne Stenberg's Blog from 2 Nov 2011 3:00 PM "How to Create an InfoPath Form to Auto Populate Data in SharePoint 2010" she artfully steps through how to create an InfoPath Form to Auto Populate Data. It works but... Jason, another user,
wrote whenever the form is opened again either to view or edit, it displays the current users information instead of the value of the person who completed the form in the first place.
Anne's response was "Hi Jason - I had forgotten I had that problem, too. Change the Form Load rule's condition to
DisplayName is blank and that should work."
My problem is I can't find anything other than AccountName in "Select a Field or Group" [GetUserProfileByName (Secondary)] to use in the Condition statement that will correct the problem.
Any help will be very appreciated.
Thanks,
JoeHi Joe,
I recommend to add one more condition in Form Load to make the form not be populated with current user’s information (You can change Title to another column which should not be blank when users create a new item).
Best regards,
Victoria
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
I have a JavaScript that I use to auto populate date fields. However, I've discovered that it doesn't work when the form is opened on an iPhone or Android phone. Is there a way to auto-populate a date field without using JavaScript?
What app on the iPad are you using.
Different apps on mobile devices have varying degrees of JavaScript compatibility. -
I need to move my "auto-complete" data to my log-in on the companies computer.
I need to move my "auto-complete" data to my log-in on the companies computer.
How do i do this? Replicating the dateSee:
* http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
* [[Recovering important data from an old profile]] -
ITunes 10.5 crashes every time I type in an auto-complete enabled field
Greetings,
I have my music collection on a NAS drive, and have recently upgraded my laptop and so moved the iTunes library files to the new machine.
Both the old and new machines run Windows7 Home Premium 64-bit.
While playing and syncing work well, I am unable to edit any auto-complete enabled field in a track's (or track group's) properties (e.g. artist, album) without having the iTunes application crash immediately.
I am able to edit these fields only by pasting from an external editor (e.g. open notepad, write the new content, copy, switch to iTunes and paste).
I have tried a complete uninstall of iTunes (including apple program support), but the issue recurred after iTunes was re-installed.
Any help will be appreciated.
Best regards,
ShaiBGreetings,
I have my music collection on a NAS drive, and have recently upgraded my laptop and so moved the iTunes library files to the new machine.
Both the old and new machines run Windows7 Home Premium 64-bit.
While playing and syncing work well, I am unable to edit any auto-complete enabled field in a track's (or track group's) properties (e.g. artist, album) without having the iTunes application crash immediately.
I am able to edit these fields only by pasting from an external editor (e.g. open notepad, write the new content, copy, switch to iTunes and paste).
I have tried a complete uninstall of iTunes (including apple program support), but the issue recurred after iTunes was re-installed.
Any help will be appreciated.
Best regards,
ShaiB -
Location of Auto-Complete Data ?
My auto-complete data is missing in Snow Leopard.
Good thing I have a complete backup of my old Leopard machine.
Does anyone know where I can find the auto-complete address data for Mail?I hope this is the thread I need. I have repeatedly emptied my "Previous Recipients" in Mail/Window/Previous Recipients. Nevertheless Mail "autocompletes" entries in the "To" line of Mail with spurious information (i.e. a mismatch between Name and email address). The Name is autocomplete entered, accompanied by an email address from another person. My Address Book looks okay (although it has been acting a little squirelly since I upgraded to 10.6; have to shut it down and restart Mail on frequent occasions). I assume that there must be another data file between Address Book and Mail that is offering up these spurious autocomplete entries but that is just a guess. Any suggestions?
-
LiveCycle ES2 - Auto Populate Date field when signed
Good afternoon,
I've got a signature field called "sgnPOC" and a date field called "sgnPOCDate" I'd like to have the date field filled in automatically when the sgnPOC is digitally signed.
I added the following to the postSign* event to sgnPOC.
FORM.Main.sgnPOCDate.rawValue = util.printd("mm/dd/yyyy", new Date());
and different variations including setting the date to yyyymmdd and like. It just won't auto populate. It passes the script check in the script editor.
any ideas?
Thank you.Thank you,
I tried the following - to no success.
FORM.Main.sgnPOC::postSign - (JavaScript, client)
var myDate=date()
FORM.Main.sgnPOCDate.rawValue = Num2Date(myDate, "YYYY-MM-DD")
I also tried this
FORM.Main.sgnPOC::postSign - (JavaScript, client)
var myDate=date()
$.rawValue = Num2Date(myDate, "YYYY-MM-DD")
Which also did not work, but wouldn't that need to know where to put the date? -
Auto populate date field in form
Hi
I have been trying to get a field in a form to automatically populate with todays date. I have got a script which defines the default value for the field as: document.dform.currentdate.value=displayfirst+"/"+displaysecond+"/"+displaythird
where dform is the name of the form, and currentdate is the name of the field.
This works fine.
But I am using the form to populate another program, and the field name must be 00N20000001QbHo
I assumed therefore that I should use: document.dform.00N20000001QbHo.value=displayfirst+"/"+displaysecond+"/"+displaythird
But this does not work. In Dreamweaver the .00 appear red.
I suspect that I need to put 00N20000001QbHo in parentheses or something similar.
Can anyone help a newbie who doesn't know what he is doing? Full script below
<form name="dform">
<input type="text" name="00N20000001QbHo" size=11>
</form>
<script>
var mydate=new Date()
var theyear=mydate.getYear()
if (theyear < 1000)
theyear+=1900
var theday=mydate.getDay()
var themonth=mydate.getMonth()+1
if (themonth<10)
themonth="0"+themonth
var theday=mydate.getDate()
if (theday<10)
theday="0"+theday
var displayfirst=themonth
var displaysecond=theday
var displaythird=theyear
document.dform.00N20000001QbHo.value=displayfirst+"/"+displaysecond+"/"+displaythird
</script>JavaScript.is.not.Java.
This is a Java forum. You could look out for a JavaScript forum at JavaScript.com. I believe JavaRanch also has one.
db -
How to auto-complete text field in the form?
Hi,
I have a table CustTable that has 2 columns:
1. Column_A
2. Column_B
I have a form that has 2 fields:
1. Field_A - Lookup Field - it takes data from a custom table lookup (Lookup Query: SELECT Column_A from CustTable) - it works fine.
2. Field_B - Text Field - I would like to autocomplete this field (as value from Column_B) based on the value selected in the Field_A (SELECT Column_B from CustTable where Column_A = "value from Field_A") - is it possible to autocomplete a text field ?
I have made it using 2 lookup fields and it works, but then user has to make a select on the lookup twice and I would like to make it only once.
Thanks in advance!I don't think w/o UI Customization it is possible.
UI customization won't be a small one as it is a common wizard and used at multiple places. So it will be a huge work. -
How to: Create a master form that auto-fills data into other pdf forms?
I hope someone can please help me. I have about 15 PDF forms that all require similar data entry (name, address etc). Can I create a master form that we fill in once per client, and then auto-fill in the matching data on the 15 forms?
I am not looking for an online solution as the information is highly sensitive.
I have already created a form in Acrobat X Pro with the 'master data', and created the (15) forms with identically named fields. How I link the forms now to the master, I cannot figure out (after much searching).
I have read similar questions on the same topic but have not found any answers. I hope this time someone can please help.
Many thanks in advance.Thank you! I had just figured out how to export the data from the master as an FDF file and then import it to the other files. I'm afraid I don't understand scripting to automate the process across multiple files. To you mean with java script?
I've also thought about combining the forms, once we know which ones the particular client will need. I have to see how it works in practice for my colleagues who will be using them.
Thank you again. -
Interactive form that auto selects input fields based on initial selection
i want to create a form that based on initial selections, automatically highlights "required" input fields.
i.e. if i create an item on the form called "promotion", when this item is "checked", all the fields that are required will automatically light up, and the person completing the form cannot exit, save, and submit the form until all related fields are filled in.
is this possible using adobe products? i have cs5 (with dreamweaver, indesign, etc.)
can anyone point me toward any documentation that will show me how to do this?This forum is for Adobe FormsCentral (formscentral.adobe.com) which is a service that allows you to create, collect and analyze data using an online web form. You should ask general HTML form related questions in the Dreamweaver forums:http://forums.adobe.com/community/dreamweaver/dreamweaver_general
I'll move your post to that forum so you don't need to retype it. They can help you out...
Randy -
How to create Infopath form that auto populate data from one list to be fill by another user?
hi. I would like to ask, how to create form that fill by User A, for example, and then the User A assigned task to User B to complete the form. Next, the form will be approved by approver. May I know how to do
that? and if possible, I do not want to use any programming code.
Azuaniza AriffinHi,
If your SharePoint environment supports InfoPath Forms, then you can customize the form and add rules to make the list items as read only when user A submits the form.
you can then write a form load event to check the logged in user using username() function. This logic can be implemented in variety of ways, like setting a flag when User A submits the form, or storing user A username in a form variable etc., else comparing
User A and User B values within form Load event.
Another way of doing this is using Views or grouping all of the User A fields within a section etc.,
The above would take care of Form logic, and for the workflow, you can use SharePoint designer to create a custom workflow, where it will run on onItemCreate and onItemChange events.
The logic for workflow would be if the form Submitted for the first time, the workflow will start and send an email to User B, and when User B submits the Data then onItemChange change event will start the workflow to send an email to approver to approve
the data.
here are some links for your reference -
http://office.microsoft.com/en-us/infopath-help/add-formulas-and-functions-in-infopath-2010-HA101821255.aspx
http://office.microsoft.com/en-us/videos/video-create-an-approval-workflow-in-sharepoint-designer-2010-VA101897477.aspx
http://blogs.technet.com/b/meacoex/archive/2010/11/01/get-manager-approval-in-sharepoint-designer-2010-step-by-step.aspx
Hope this helps!
Ram - SharePoint Architect
Blog - SharePointDeveloper.in
Please vote or mark your question answered, if my reply helps you -
Auto generate date field.
Is there a simple method for automatically displaying the current date in a form field? My form may take several days to run through the process I've created but the customer would like the final step's date input to be automated.
Thanks,
PatYou can create a variable of type 'date'.
Then with a setValue use the expression current-date() to get the current date.
Finally use the setValue to set the data element on your form with the value of your date variable.
Jasmin -
Mail app very slow auto completing recipient field
after typing in a few characters in any recipient field in mail I get the spinning beach ball for up to 20 seconds while mail tries to automatically complete the address, is there anyway to reduce the lag time without turning this feature off.I have cleared the "previous recipients" window. LDAP is also configured (doesn't seem to make any difference). Making mail unusable at the moment....help greatly appreciated
Please confirm that in your Home folder's Library, you find the folder Application Support, and in that folder, you find the AddressBook folder. Open the AddressBook folder and report the files and folders within. (~/Library/Application Support/AddressBook)
Also, again in the Finder, check ~/Library/Preferences/com.apple.addressbook.plist for dates created and last modified. I am thinking this one may need to be removed, and AB allowed to create another, but not yet suggesting that.
Ernie -
How to auto complete text field
Hello!
I have the following behavior request for a text field.
An user must write a date in a text field. The date format is yyyy/MM/dd (as 2003/02/04). The user would begin writing "2003" followed by the "0" character but would see in the text field "2003/0". The "/" would be automagically putted there.
I hope this table will make the behavior more clear.
User User
writes sees this in the text field.
2003 2003
20030 2003/0
200302 2003/02
2003020 2003/02/0
20030201 2003/02/01
Also, if the user deletes the characters "1" and next the "0" from the previous example, it would automatically erase also the "/" character.
Could someone point me to some sample code or give me some clues how to implement the previous behaviour? Does this pattern behavior has some well know name, where I can "google" for?
Thanks!
EduardoHello!
I found a solution for my request feature, explained above.
Maybe someone will find it also usefull.
Regards,
Eduardo
public class JFormattedDateTextField extends JFormattedTextField {
Format _formatDt = new SimpleDateFormat("yyyy/MM/dd");
public JFormattedDateTextField() {
super();
MaskFormatter mformat = null;
try {
mformat = new MaskFormatter("####/##/##");
} catch (ParseException e1) {
e1.printStackTrace();
mformat.setPlaceholderCharacter('_');
setFormatterFactory(new DefaultFormatterFactory(mformat));
this.addFocusListener(new FocusAdapter() {
public void focusGained(FocusEvent e) {
if (getFocusLostBehavior() == JFormattedTextField.PERSIST)
setFocusLostBehavior(JFormattedTextField.COMMIT_OR_REVERT);
public void focusLost(FocusEvent e) {
try {
Date dt = (Date) _formatDt.parseObject(getText());
setValue(_formatDt.format(dt));
} catch (ParseException pe) {
setFocusLostBehavior(JFormattedTextField.PERSIST);
setText("");
public void setValue(Date strDt) {
super.setValue(convertDateToStr(strDt));
public Date getDateValue() {
return convertStrToDate((String)super.getValue());
public EFADateValue getEFADate() {
return new EFADateValue(getDateValue());
private Date convertStrToDate(String txt) {
Date date = null;
if (txt == null) return null;
try {
date = (Date)_formatDt.parseObject(txt);
catch (ParseException pe) {
date = null;
return date;
private String convertDateToStr(Date date) {
try {
return _formatDt.format(date);
} catch (Exception e) {
return "";
Maybe you are looking for
-
Restore Photos from Back up not going as plan
Why will only half my photos download from the backup? When I click on the photo's it is still saying that it is downloading. The odd think is my really old pictures are there put my recent pictures from about 2 months to now are not loading just the
-
Can we install oracle 10g in windows vista
hi all i am trying to install oracle 10g in windows vista ultimate , but it is not getting install in windows vista wat is the version i have to use for windows vista ultimate , thank in advance
-
Adding a currency in numbers missing custom format option
I just paid for numbers latest version June 2012. iPad 3' v5.1.1. Want to format a cell as a currency not in the little list chosen by apple. Forums suggest using the custom format option but I can not see this anywhere? Any ideas how to add a
-
help me. it wont play anything
-
Help me.about "open dataset"
we using ecc4.6,using "open dataset" down or uplod data to SAP or others system previously, but now,we using ecc6.0. the problem is : 'utf-8' we down txt(Encoding:UTF-8),But we have a system using VB develop, this system (VB) can not read 'utf-8'