Using a rule to auto-populate fields
I'm using InfoPath/SharePoint 2010.
I work for a law firm and I am designing an InfoPath form for a SharePoint portal. We have a database will a list of matter numbers and names. One of the fields is called, Matter number and the other, Matter name. I want users to be able to type
in the matter number, and have that number validated against the database to auto-populate the matter name in the matter name field. Does anyone know how I would be able to do that?
This would be done in InfoPath.
Click on your Matter Name field and then select properties. For default value, select the data source as your other data source and then highlight the Matter name field. Click filter data and use the form field for Matter number.
Check out this article:
http://blogs.msdn.com/b/bharatgupta/archive/2013/03/07/create-cascading-dropdown-in-browser-enabled-infopath-form-using-infopath-2010.aspx
Andy Wessendorf SharePoint Developer II | Rackspace [email protected]
Similar Messages
-
I am creating a fillable pdf form using Acrobat XI Pro and would like to be able to auto-populate text fields in one section of the form based on responses entered by respondents in an earlier section. Is this possible? If so, would it function for respondents using Adobe Reader to complete the form?
Many thanks,
AndyThanks, George! In the form I am creating, I ask respondents to identify a number of organizations that they work with. For example, I ask "Please list up to ten organizations" and then I provide ten text boxes for organizations 1-10. I then ask a series of follow up questions (radio buttons, check boxes, and rating scales) about each organization. I would like to auto-populate the fields of those follow up questions with the names of the organizations that the respondents had written. Does that make sense? Will this require JavaScript? My hope is to avoid complicated scripts that may give respondents technical problems with the form. Thanks again,
Andy -
Auto-populate fields in Custom Object Based on Another Record
Hello,
I am hoping to auto-populate a few default values in a new Custom Object record based on an associated Lead record. The layout is this:
I use the Lead record to take care of most of the information in the sales stages until the product is sold. The Lead record has fields to record information for a one product sale. The sales person can then use the Custom Object (called 'GX Additional Product') (which shows up in the Related Information section of the Lead record) to add additional items to a sales order request. Many of the fields in the GX Additional Product (custom object) record are identical to fields already filled out in the Lead record.
What I would like to do, is when a new GX Additional Product (custom object) is added to the Lead record, those identical fields already filled out in the Lead record, by default, populate the corresponding fields in the new GX Additional Product (custom object) record.
Is this possible? Is this something that can be done with JoinFieldValues? If so, I've had a bit of confusion trying to set up a JoinFieldValues expression.
If you have any information to share that would be helpful, that would be greatly appreciated! THANKS!Hi,
You can use JoinFieldValue to Custom Objects from other entities, cause you will have other objects' ID recorded inside the CO's, when you open a new detail record associated with the parent. Make sure your custom object is showing as a detail section (N:1) into lead´s main page. Try with one field first, using the exact syntax provided at samples listed at product documentation.
regards,
Flavio Amorim
Brazil
www.triscal.com.br -
Auto populate fields in Numbers for iPad
Hi all,
I'm looking to set up a quotation sheet in Numbers on the iPad. I'd like to be able to get the fields to auto populate when a product code is entered. Is there anyway to do this in Numbers on the iPad or am I asking to much?You can use the "Custom Calculation Script" in Acrobat. How to do (not so simple) form calculations by Thom Parker. Text field values can by accessed like a number in Acrobat with custom calculation script. The "+" operator is not only the additive operator but for string values is the concatenation operator.
-
Hi there, I am new to PDF form work, and am wondering if someone could help me with a javascript formula.
I want to auto-populate the EXPIRYDATE field, as the same date as the entered AUTHORIZATIONDATE field, but 4 years later.
So, I want to be able to enter 11/14/2014 in the AUTHORIZATIONDATE date, and have 11/14/2018 auto populate in the EXPIRYDATE field.
Seems simple I know, but I've messed around quite a bit and can't seem to make it work. Is this possible??
Any help would be very much appreciated!!And what have you done?
This can only be done with custom JavaScript programing.
The value of date type fields are text field and not numeric data. The first task is to convert the dates to a number on some type of number sequence that is a mapping to dates.
Have you looked at the Acrobat JavaScript API Reference, the MDN JavaScript reference?
I would use the Acrobat JavaScript util.scand to covert the date string to the number of milliseconds from January 1, 1970 midnight. and then use the getFullYear method of the date object for the year value and add 4 years to that value and then use the setFullYear method to set the year for the date object. Now you can use the util.printd method to format the date object as a date string with a specific format.
// get the date value, format of date string and years to add;
var cDate = "11/14/2014"; // date value;
var cFormat = "mm/dd/yyyy"; // date format;
var nYears = 4; // years to add;
// convert date string to date object;
var oDate = util.scand(cFormat, cDate);
if(oDate == null) {
app.alert("Error converting " + cDate + " using format " + cFormat, 0, 1);
// add years to date object;
oDate.setFullYear(oDate.getFullYear() + nYears);
// display result;
var cExpireyDate = util.printd(cFormat, oDate);
app.alert("Authorization Date: " + cDate + "." +
"\nExpire Date: " + cExpireyDate, 3, 0); -
Auto populate fields based on dropdown selection
New to forms and needing some insight
Is there a way to auto populate a series of fields based on the selection of a dropdown box
for instance;
chosing a customer's name from a dropdown box would auto populate the address, city,state zip etc...Yes, but not easy and you do not want to have a large number of items.
Programming List and Combo fields in Acrobat and LiveCycle forms - Part 1 by Thom Parker -
Auto populate field with value same as one in a previous existing field
Hi,
Suppose I have only two fields in an acrobat form, one is name A and aonther is B. I want A and B has the same value.
If I input a date value into field A like November 20, 2010, is that possible the field B can be auto filled with the same value as that in the A field?
How about other type of data such as number?
What should I write in validation or calculation area in the field properties of B?
Thanks and looking forward to getting help from the PDF expert.
wayneThe attached demonstrates global data binding and populating text, numeric and date fields on exit and calculate events.
The file Population-and-binding.xml used in the preview to demonstrate global data binding looks like this.
Steve -
Using conversion rule to convert quantity fields
Hi!
I am trying to find a way to use a conversion rule to convert a quantity specified in one unit of measure to the corresponding quantity specified in a different unit of measure. I was trying to use 'Copy sender field' along with a custom 'Special conversion rule'. However, the code to convert quantities requires both the quantity and material number to do the UoM conversion. 'Copy sender field' only allows the transfer of one sender field. Is there a way to transfer two sender field into a 'Special conversion rule'. Any help much appreciated and rewarded. Thanks, DuncanHi Duncan,
Try FM UNIT_CONVERSION_SIMPLE.
Regards,
Atish -
Auto populate field with user ID
On my form, I have a box labeled user ID that is to be inputted by the user's ID.
I like to have this box automatically populated with the person who signed in to APEX.
Also, if it is possible, maybe gray this box out when it is auto-populated by the user ID.
Any ideas?
Thanks.The user_id is one of several fields to be populated on the form.
Instead of the user typing in his user ID, I was thinking to automatically populate it with his username that he signed into APEX with.
I am not familiar with APP_User. This may sound like the username from the login page which in that case, yes. I would like to pull this name and put it in the form.
Now maybe I can just make it hidden. This is easy.
Thanks. -
Auto-populate Field value From a File Picker Window
I have a PDF form with many fields where my users are required to enter the filename of documents. I am using Adobe Acrobat 9 Pro
I've been trying to find a way to create a field Action that does the following:
User clicks field
File browser window opens
User selects relevant file
Filename and extension is placed into the field that was clicked
Any tips or suggestions on how to implement this would be welcome.
Additionally, if it is possible, could it support multiple field/documents in a single interactions. Example: User clicks field1 and selects 5 files. The files filenames are placed in fields1, field2, field3, field4, and field5 respectively.
P.S.
I am not trying to attach files to the PDF. I just want the filenames to be placed into the form.Are the files being selected PDF files, or other types? There's another method that can be used for file selection, but it only lists PDF files. It is possible (at least on Windows computers) to use it to select any file-type, but it's a bit tricky...
If not, using a hidden field is your only option. But you can reset if after copying the file-name to the other field, like this:
this.getField("FilePath").browseForFileToSubmit();
var filePath = this.getField("FilePath").value;
this.getField("FileName").value = filePath.substring(filePath.lastIndexOf("\\")+1);
this.getField("FilePath").value = "";
If you use this code (as the button's Mouse Up action), make sure you remove all other codes associated with the text fields. And you don't need to create a duplicate field for each file selection field, only one will do... It can even be placed in a doc-level function so you only have to call it from each button and have the code itself in a single location. -
When I press the tab key on my keyboard while I am filling out fields in a Safari web page, the name, address, etc. fields automatically populate with my personal information. I have recently moved and the fields contain my old address, etc. How (Where) do I change it to reflect my new address, etc.? Thanks.
Safari>Preferences>AutoFill. Safari forum here:
http://discussions.apple.com/category.jspa?categoryID=169 -
Auto populate field 'ABC Indic' under Organization tab in IE01/IE02/IE03
Hi Folks,
I need to Autopopulate the selected value for the 'ABC Indic' dropdown within the 'Location Data' group, under 'Organization' tab in IE01/IE02/IE03, based on a given Business condition for equipment numbers.
The field pertains to ABCKZ of table ILOA (And subsequently in the database view ITOB)
This standard field is made visible in the transactions via configuration.
I understand that I need to make this change using the User exit 'EXIT_SAPLITO0_002'. However, I do not seem to be having a handle to the field ABCKZ as an exporting/changing parameter in any of the exporting structures ISTRU_EQ / ISTRU_EZ / IFLO_USR1). Since this is not a custom field , i am not sure if I must include it as a custom include in one of the afore mentioned structures. ( Even if this were to be done, IFLO_USER1 [which is the exit mod structure for ILOA] does not have a Customer Include)
All I need is a handle to the field, so that i can make the required change and the update will happen without any further interventions.
Any pointers to this issue would be very helpful.
Thanks and Regards,
Puja.Hi Puja,
Try this badi
Badi:
EQUI_UPDATE Equipment Master Data
Alternative Exits:
ITOB0001 PM: Customer include subscreen for techn. obj. master d
ITOB0002 ITOB: Field changes to copy model
ITOB0003 PM: Customer Include subscreen for fleet object data
ITOB0004 PM: Customer Exit fleet identification data: Checks
Badi:
FLEET_DECOUPLING Interface for Decoupled Part of Fleet Management
INST_AUTHORITY_CHECK PM/CS Enhanced Authorization Checks
Thank you,
Thanks,
AMS -
Auto Populate Field in One Table with Primary Key from another table.
Greetings all,
I have created two tables. One for Root Cause which will be the based description information of an analysis. Each Root cause can have many corrective actions.
My Table structure is as follows:
RCCA TABLE:
=====================================
Column Name Data Type Nullable
RCCAID NUMBER No
DESCRIPTION VARCHAR2(4000) Yes
SUMMARY VARCHAR2(4000) Yes
OWNER VARCHAR2(4000) Yes
DATEOFINCIDENT DATE Yes
STATUS VARCHAR2(4000) Yes
CORRECTIVE ACTION TABLE
=====================================
Column Name Data Type Nullable
CAID NUMBER No
RCCAID NUMBER No
CANUMBER NUMBER Yes
CACTION VARCHAR2(4000) Yes
DATEDUE DATE Yes
COMMENTS VARCHAR2(4000) Yes
So I have a form that creates the RCCA and then I have another form that I want to feed off of the first form. My thought was that when the RCCA was created, it would open a report of the RCCA and then in another region of the page I would add corrective action form. What I am looking to do is when I press the Create Corrective Action, it will automatically populate the RCCAID in the Corrective Action Table so that it is associated directly to the RCCA. I don't want to have to have someone know what the RCCAID is from teh RCA table because they are autogenerated.
There may be a better way to do this and since I am new to APEX and to Oracle Databases, I am just going with what my logic tells me. Any assistance or thoughts would be appreciated.
Assuming there would be some type of trigger?
I will have to be able to view each RCCA and CA in a report that customers will see.
Thanks in Advance
WallyHi Debasis,
Have a look on this
Quick note on IDENTITY column in SAP HANA
Regards,
Krishna Tangudu -
Need to auto populate Field based on Partner Function in UI
Hello Experts ,
Currently we have a requirement in Opportunity Management in UI .
We are working on "Territory Management " in UI .
While creating the Opportunity in Web UI , when we put employee code the Territory ID is auto populated.
Now we dont want to have Territory ID filled automatically based on Employee , but we would like to have
Territory ID autopopulated based on "Prospect" .
Can any one let me know how we can achieve it ?
Regards
MilindHi Milind,
I guess the territory gets populated based on the Partner associated to the order.
There shooukd be an attribute like TERRITORY_ID_UI or TERRITORY_ID where in the GET method the territory ID will be derived
based on the partner relations and being populated.
Now you need to redefine this method and remove this logic....figure which partner relation stores the prospect and put the appropriate code.
Regards,
Masood Imrani S. -
How to auto-populate fields in added instances
Hello guys,
Please take a look at my form here:
http://www.4shared.com/document/97ZsPH6r/fpatrcvtemplate_REVA.html
Here is what I'm trying to achieve:
The main goal of this project is to create a template for one
building that is capable of expanding to an unlimited amount of buildings.
Please look at page 8 and 9 (introduction) This section should be set up for
one building with the capability of adding additional buildings with the
"add item" button. This is where the building names and addresses are
entered by the end user.
When the user clicks the "add item" button the form should add another row
to the "Recapitulation of Values" found on page 10 and bind the
corresponding building name to the new row. It is on this page that the end
user will enter all the monetary values for the building. Which should in
turn be linked the new "photos and values" section (see paragraph below)
Also, when the user clicks the "add item" button the form should add a new
"Photos and Values" section found here beginning on page 22. The photos and
values section should automatically bind the building name and address which
were entered on the "introduction" as well as all of the monetary values
that were entered on the "Recapitulation of Values".
The goal is to eliminate the end user from any double entry.
I need help please. Thanks.Hi,
I can't look at the form now, but it sounds like it will involve a bit of scripting.
I have an example here where the add/delete buttons work on two separate tables: http://assure.ly/eTOXaH. This might help you in the meantime.
Good luck,
Niall
Maybe you are looking for
-
Why can I no longer upload photos from my camera to iPhoto?
When the camera is plugged into the iMac (recently updated to Yosemite), iPhoto recognizes the device but the screen seems to freeze with "Loading..." in the area where the photos usually appear prior to selection for importing. I opened the Photo L
-
What's wrong with the ThresholdPeakDetector function in Meas. Studio v6.0
The function doesn't seem to return any values, regardless of the input array or the threshold vaule (even 0 gets no results)
-
Running iMovie 08 on a PowerMac G5 with two video cards?
I have two video cards installed on my PowerMac G5. The primary card is the Radeon 9600 XT (AGP). I also added a relatively inexpensive Radeon 9200 (PCI) to run a second monitor. Under iMovie HD, this setup works well, although it does warn me that o
-
How to reinstall Lexmark driver?
I need help to reinstall the software for my Lexmark Z615 printer. Due to other problems on the MacBook, I had to wipe the hard drive and start over. When I did, I could not find the CD-ROM with the software for the printer. I am still looking for
-
Unable to retrieve topology component health states. This may be because the admin component is not up and running. I have deleted Search Service App and created again. But still same error can anyone give me check list.. I need it very urgently. Ple