Dropdown Selections
I pulled in an excel form into Adobe Acrobat 11 to create a pdf form. I have one dropdown field for bank account selection which has over 300 possible choices. How would I copy these items from excel and paste them into the items list in the pdf form? I don't want to add them all manually.
1. Create a text field and name it "AccountName"
2. In the drop down menu's properties, choose Options tab and tick "Commit selected value immediately"
3. In the drop down menu's properties, choose Validate tab and enter the following custom validation script:
this.getField("AccountName").value = event.value;
Thank you to Gilad D for mentioning this syntax in another post... he is a great source of information!
Similar Messages
-
Can i insert a dropdown selection box for a cell
Hi,
I have an exel spreadsheet that contains a dropdown selection box in one cell. allof the other formulae in the sheet work except the drop down. Is this possible in numbers on the ipad?
ThanksHi Paul,
Apple vocabulary for this is pop-up menu. In the Mac version of Numbers, it's a cell format, so if it's supported in the iOS version, I suspect you'll find it in the same place as you'd find other ways to format a cell—number, percentage, text, etc.
I've requested your question be transferred to the iWork for iOS community, where the iPad Numbers experts hang out, and where you'll get a more definitive answer.
Regards,
Barry -
Hi.
I am working on CRM 2007 icwebclient. My requirement is for BP creation either individual or organisation depending on ROLE select mandatory fields are changed.
If role 'Prospect' is selected then few fields are mandatory or if 'sold-to-party' is selected more fields are madatory..
Now which event is working behind this dropdown selection. where i have to write my code. How to set fields 'mandatory' at design time. soon reply would be appreciate.Hello,
as this really seems to be a big Issue for people. Thought as developers you might explore my hints on your own.
For switching the configuration:
Implement the P-Getter for the attribute on the context node with the following code:
CASE iv_property.
WHEN if_bsp_wd_model_setter_getter=>fp_server_event.
rv_value = 'my_event'.
endcase
This will trigger a roundtrip. We do not need to handle the event.
In your view controller implementation class redefine the method DO_CONFIG_DETERMINATION:
METHOD do_config_determination.
* Switch configuration that is used based on field value.
DATA:
lv_value TYPE char2,
lv_object_type TYPE bsp_dlc_object_type VALUE '<DEFAULT>',
lv_object_subtype TYPE BSP_DLC_OBJECT_SUB_TYPE value '<DEFAULT>',
lr_node TYPE REF TO if_bol_bo_property_access.
CALL METHOD super->do_config_determination
EXPORTING
iv_first_time = abap_false.
lr_node = typed_context->some_node->collection_wrapper->get_current( ).
CHECK lr_node IS BOUND.
lr_node->get_property_as_value(
EXPORTING
iv_attr_name = 'SOME_ATTRIBUTE'
IMPORTING
ev_result = lv_value ).
lv_object_type = 'MY_UI_OBJECT_TYPE'.
CASE lv_value .
WHEN 'SOME_VALUE1'.
lv_object_subtype = 'JIMBOB'.
WHEN 'SOME_VALUE2'.
lv_object_subtype = 'BUBBA'.
ENDCASE.
me->set_config_keys( iv_object_type = lv_object_type
iv_object_sub_type = lv_object_subtype
iv_propagate_2_children = abap_true ).
ENDMETHOD.
Just paste the above coding into the method.
What it does:
1. Get the value you want to check from one of the context nodes.
2. Switch the UI Object type (Yes you have to define it in customizing)
3. Switch the UI Sub Object type on base of the field value. (Yes you have to define your own sub object type, this is done via a class that is assigned to your UI Object type in customizing)
For the other solution: As mentioned I have not tried it myself.
The variable on the view controller I am talking about is CONFIGURATION_DESCR of interface IF_BSP_DLC_CONFIGURATION. It has got a method GET_CONFIG_DATA that will give you the XML stream and a method SET_CONFIG_DATA. Putting the changed XML back.
If you had done a were used list for at least one of these methods you would have seen how SAP uses them.
One example: CL_BSP_WD_OVW_VIEWSET->DO_INIT_CONFIG() however this will not help you on your problem.
I know there is a method that will decode the XML stream in the single fields with their properties and there is also a counter part to it. I am afraid that many people will use it to bypass the configurations. This will make it very hard to debug the coding. Thus I will not name the class/method here!
For the sake of maintainability please stick to the first method.
I have seen people getting the XML and then hardcoding another part into it. Then someone changed the config and an error occurs. You try to find out why, but the original developer is no longer there and has not documented anything...
cheers Carsten -
From dropdown selection to multiline output
I'm trying to create pdf -form with Adobe XPro where I'll have several Ship-To addresses. What I would like to have is that the user could select the correct Ship-To party from the dropdown.
Since the pdf-form dropdowns are only single lines the dropdown selection could only show the name of the company (e.g. COMPANY A) and by selecting the wanted company, this would trigger the whole (multiline) address to pop-up as described below (on another text field is ok if needed)
COMPANY A
Streetaddress 1
ZIP-1234 City A
Does anybody have an easy solution for this?I have created one sample form for you, please look at attachment.
The PDF form does exactly what you want. -
Dropdown Selection : Populate Tableview
Hi all,
We have a requirement, in which we have to make a component which is divided into 2 sections.
Section 1: Tableview is populated based on user login
(done)
Section 2: Dropdown which has 2 values
i. My opportunities
on selecting this, a tableview should be populated displaying all oppts which are owned by the log in user
ii. Reportee Names
on selecting this, it displays all the people reporting to the login user, and on selecting any of them should again display opportunities of that user.
If anyone has worked upon populating tableview in a component depending upon dropdown values, please help.
Posting Example code would be of greater help.
thanks in advance,
Rohit
Edited by: Rohit Khetarpal on Oct 17, 2008 8:08 AMSolved by triggering event on dropdown selection
IF iv_property = if_bsp_wd_model_setter_getter=>fp_server_event.
rv_value = 'DDLB_CLICK'.
ENDIF.
and handling in do handle event. -
New printer not showing on printer dropdown selection list
Hi.
I had a canon MP600 printer that I removed and replaced with Canon MG5350. It prints fine for word/excel but for adobe pdf the new printer does not appear in the select printer list, but the old one still does. I can't print any pdf file and don't have the old printer.
How can I get the new printer to appear in the list?
Please do help.
Thank youMorning Steve
OS is windows 7, and I had no problems with printing other docs, only pdf, but....
I was searching around other forums and came across this fix, hooray
https://exploreb2b.com/articles/solving-error-0x00000709-cant-set-default-printer-problem
However, if the permission is denied, click on edit tab and allow permissions. Then you can delete the device printer.
Then, I went back to control panel, devices and printers, selece the new printer as default and hip hip hooray.
Anyone else having problem where the new printer, or indeed a printer doesn't show on the printer dropdown selection list, can try and use the above method. It worked for me.
Good luck and thanks to ALL. -
How to make a form to submit on the dropdown selection?
Hi
I have a form(jsp)that needs to call a servlet when a
value is selected in the dropdown list.
Does anyone have an idea on how that can be done?
Thank you!Like this:
<form name="myform" action="http://myservleturl">
Select a person:
<select name="dropdown" onchange="javascript:myform.submit()">
<option>Dogbert
<option>Dilbert
<option>Wally
<option>Alice
</select>
</form> -
Hide/Show Pages Based On Dropdown Selection
Hello,
This one is driving me crazy. In this form (attached) I have 3 checkboxes and based on what is checked, I want to hide the first page and navigate to the 1st checked box. It works for the Web Chat option, but all others do not. Also, on the next button from the Web Chat page, when I click next, I have an alert pop that should only show if Web Chat is the only selection chosen, but it shows no matter how many selections are made from the checkboxes.
As always, any help is appreciated!Hello,
That took care of the popup issue, but the navigation is still a problem. For some reason choosing any option from the checkboxes and any option from the Type of setup dropdown always brings me to either a blank page or the Web Chat page.
Thanks for looking into this, hopefully you (or another member) can assist with this issue as well. -
Shopping cart creation category dropdown selecting the most used category
Hi SRM gurus,
While creating a shopping cart one of our most used category gets selected by default before we start doing anything.
Everytime we have to change the category.
Is there a way that will become blank and we can select from the dropdown or the find list.
Kindly suggest.
We are using SRM component version 4.0, SRM server 5.0, our patch level 0008.
Thx. & reg.,
Sridhar.Hi
<b>Yes.. This was happening with us when we used SRM 4.0 version.
We have used an BADI Implementation to resolve this issue.</b>
<u>The BADI name is <b> BBP_F4_READ_ON_EXIT </b></u>
For Product category -> Product category (attr. WGR, PRCAT) GET_CATEGORY Method, you need to go ahead.
<u>Read the documenation of this BADI and you will get the problem resolved after implementing the same.</u>
Here is the documentation
BBP_F4_READ_ON_EXIT
Short Text
Restrict the Display in Input Helps and Search Helps
You can use the Business Add-In (BAdI) BBP_F4_READ_ON_EXIT to restrict (or augment) the list of values and favorites that are output in the input and search helps. You can only process data elements for which input helps exist on HTML templates. The following three BAdIs are also available:
BBP_F4_READ_ON_ENTRY
Use this BAdI if you do not just want to restrict the favorites and values list but also want to select this yourself.
BBP_F4_MEM_UPDATE
BBP_F4_SAVE_DB
The following three modules are used to process the values per data element:
BBP_GET_<data element>_F4
Supplies a list of all values and user-specific favorites. You can influence how this module works using BAdI BBP_F4_READ_ON_ENTRY and BBP_F4_READ_ON_EXIT.
BBP_UPD_<data element>_FAV
Updates the favorites in internal function group storage. You can influence how this module works using BAdI BBP_F4_MEM_UPDATE.
BBP_SET_<data element>_FAV
Writes the current favorites to the database. You can influence how this module behaves using BAdI BBP_F4_SAV_DB.
Use
Only implement this BAdI and only program the appropriate method if you want to restrict or augment the value set of standard selection.
If you determine favorites using a BAdI, the standard modules do not process the favorites further. Warning: If, deviating from standard selection, you determine the list of favorites yourself using a BAdI, you have to temporarily store the favorites in the methods of the BAdIs and carry out final saving to the database yourself.
Standard settings
If data is added via the methods, no check of this data occurs. The check has to occur in the methods themselves.
The interfaces of the methods of the BAdI are (almost) always the same:
IV_LANGUAGE
Language for determination of the texts
IV_USER
User for which the values are requested
ET_<data element>_LIST
The list of valid values changed by you
EV_X_FAV_PROCESSED
Use "X" to stipulate that you have filled the favorites list. Only present if favorites table exists for relevant data element.
ET_<data element>_FAVOURITES
Changed favorites list for user IV_USER. Only exists if favorites table exists for relevant data element.
The methods have to fill the structures of the transfer tables completely. Incompletely filled structures can cause followup errors and unforseen consequences.
Activities
Reading of value lists and favorites using function module BBP_GET_<data element>_F4 occurs as follows:
1. First the BAdI BBP_F4_READ_ON_ENTRY is called. It is possible to fill the input list (and favorites) with default values.
a) In the case of default values, exactly these values are returned to the initiator. No further processing or check occurs and the module is exited.
b) If no default values exist, the standard selection is carried out.
2. Before the values are transferred externally you can restrict or augment the number of hits using the BAdI BBP_F4_READ_ON_EXIT. You can therefore delete entries from or add entries to the input list or favorites list.
3. BAdI BBP_F4_READ_ON_EXIT provides an individual method for each data element for which an input help and/or favorites table exists. These are listed below.
If you use this method, you need to indicate processing using the parameter EV_X_LIST_PROCESSED or EV_X_FAV_PROCESSED. Otherwise the selection is lost.
List of available methods per data element in BBP_F4_READ_ON_EXIT:
Field/Data element Method
Currency GET_CURRENCY
Region GET_REGION
Country GET_COUNTRY
Language GET_LANGUAGE
Industry GET_INDUSTRY
Academic title GET_ACADEMIC
Time zones GET_TIMEZONE
Procurement cards GET_PCARD
Legal forms GET_LEGAL
Format for name format GET_NAMEFORM
Quality management systems GET_QMSYSTEM
Fixed values GET_DOMVALUE
Form of address texts GET_TITLEKEY
Units of measure GET_UNIT
Bank data GET_BANKINFO
Tax number types GET_TAXNUMT
Tax numbers per country GET_TAXTYPE
Tax groups per tax type GET_TAXGROUP
Terms of payment GET_PAYMTERM
RFC destinations GET_RFC_LOGS
Logical systems GET_LOGSYS
Tax codes GET_TAXCODE
Catalogs (attribute CAT) GET_CATALOG
Roles (attribute ROLE) GET_ROLE
Account assignment categories (attribute KNT) GET_KNT_ATTR
Purchasing organizations (from PdOrg) GET_PURCHORG
Purchasing organizations (per company) GET_PORGCOMP
Purchasing group (from PdOrg) GET_PURCHGRP
Purchasing group (per company) GET_PGRPCOMP
Product category (attr. WGR, PRCAT) GET_CATEGORY
Products GET_PRODUCT
Goods recipient plant (attr. REQUESTER) GET_GRCPLANT
Goods recipient user (attr. REQUESTER) GET_GRCUSER
Requester (attribute REQUESTER) GET_BOBUSER
Cost centers (attribute CNT) GET_COSTCENT
Asset classes (attribute ANK) GET_ASSETCL
Assets (attribute AN1) GET_ASSETNO
Asset subnumbers (attribute AN2) ET_ASSETSUB
Network (attribute NET) GET_NETWORK
WBS element (attribute PRO) GET_WBSELEM
Order (attribute ANR) GET_ORDERNO
Customer order (attribute AUN) GET_SDDOC
Customer order item (attribute APO) GET_SDDOCPOS
Document type (attribute BSA) GET_DOCTYPE
Transaction type (attribute TEND_TYPE) GET_TENDTYPE
<i>Incase you face any problems, do let me know.</i>
Hope this will help.
Please reward suitable points.
Regards
- Atul -
Population of a dropdown based on another dropdown selection
Hi,
I'm trying to develop a form in which a secondary dropdown is populated based on a selection from a primary dropdown.
The idea behind this is as follows
The first dropdown is bound to a database.
From this dropdown a user would select a project.
This selection would form part of a 'WHERE' clause in a SQL query that would select a list of users involved in the project.
This list of users would then be used to populate the second dropdown.
By selecting a user from the second dropdown the database would be queried again and the result used to populate the rest of the form.
I've seen examples where a single dropdown is used to populate a form but I've been unable to find any code examples in which the result of one dropdown is used to populate a second.
Can anyone help? Many thanks in advance.You can get pretty close out of the box using some configuration manager applet voodoo
1)First off create a Table that will contain the options for your list. Create the columns e.g. label and id and then also create a column called dSecurityGroup
2)Add a view based on the table you just created, choose the Security tab and select "Use standard document security"
3)Add some values to your view - make sure that you populate the dSecurityGroup column with real values of security groups
4)Once it is all published, have a look at the checkin and search screens. You should find that UCM will evaluate the options in the same way it would documents - based on the dSecurityGroup value you applied to the row - e.g. you will see an option on the search screen if you have at least R permissions, you will see an option on a checkin screen if you have at least RW permission
Try it out :-) -
I have created a form that depending on what is seleced in a drop down menu it should determine what subform is displayed. The code I am pasting below only works with one (4 total) of the selections in the dropdown.
I am not a scriptor by any strectch of the imagination! Can anyone see what I need to fix in the below to get this to work. It is almost like I am missing some sort of "or" statement... Any suggestions?
Here is the current javascript associated with the dropdown field:
form1.jobselection.customjob::change - (JavaScript, client)
customprint.presence = "hidden";
frontpagenote.presence = "hidden";
weprint.presence = "hidden";
preprint.presence = "hidden";
if (xfa.event.newText == "CustomPrint"){customprint.presence = "visible";}
else {frontpagenote.presence = "hidden";
weprint.presence = "hidden";
preprint.presence = "hidden";}
if (xfa.event.newText == "PrePrint"){preprint.presence = "visible";}
else {frontpagenote.presence = "hidden";
weprint.presence = "hidden";
customprint.presence = "hidden";}
if (xfa.event.newText == "FrontPageNote"){frontpagenote.presence = "visible";}
else {preprint.presence = "hidden";
weprint.presence = "hidden";
customprint.presence = "hidden";}
if (xfa.event.newText == "WePrint"){weprint.presence = "visible";}
else {frontpagenote.presence = "hidden";
preprint.presence = "hidden";
customprint.presence = "hidden";}
form1.jobselection.customjob::click - (JavaScript, client)
if (customjob.rawValue == CustomPrint)
xfa.resolveNode(form1.jobselection.customprint).presence="visible";
else
xfa.resolveNode(form1.jobselection.customprint).presence="hidden";First of all i suggest you clean up the code a bit. Use this for example.
var strSelectedText = xfa.event.newText;
customprint.presence = (strSelectedText == "CustomPrint") ? "visible" : "hidden";
preprint.presence = (strSelectedText == "PrePrint") ? "visible" : "hidden";
frontpagenote.presence = (strSelectedText == "FrontPageNote") ? "visible" : "hidden";
weprint.presence = (strSelectedText == "WePrint") ? "visible" : "hidden";
//Optional code for checking values. You might want to put this in the exit-event.
console.show();
console.println("value = " + strSelectedText );
console.println("customprint.presence = " +customprint.presence );
console.println("preprint.presence = " + preprint.presence );
console.println("frontpagenote.presence = " + frontpagenote.presence );
console.println("weprint.presence = " + weprint.presence );
// End optional code.
What the above does is just have the same if/else you use, it just does it in much less code/scripting.
The optional code is for you to verify what actually goes on. Wich values are changed or given, etc.
What also might help is to write down the full path off the subform you want to change the presence of.
So instead of "frontpage.presence" you write down "form1.frontpage.presence".
Hope this helps.
Rien. -
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 -
Check box based on dropdown selection
I have a dropdown menu with three choices: Level I, Level II and Level III. If the user selects "Level I" from the menu, I need a checkbox named levelI to be checked. If they select "Level II", I need the checkbox named levelII to be checked, and so on.
I don't care if the boxes are checkboxes or radiobuttons. I don't know if the code needs to go in the dropdown menu field or in the checkbox/radio button fields. If you can help, please be sure to specify whether this would be entered on a change event, or exit event, etc. because I am clueless about this one!
I've tried all of the code combinations I can come up with based on my limited Javascript knowledge but nothing is working and I can't find any examples of this online...First make sure the Object > Binding tab of the dropdown you tick 'specify item values'. Then in the exit event of the dropdown menu put (in formcalc):
if ($ == 1) then
levelI = 1
levelII = 0
levelIII = 0
elseif ($ == 2) then
levelII = 1
levelI = 0
levelIII = 0
elseif ($ == 3) then
levelIII = 1
levelI = 0
levelII = 0
endif -
Sum Fields Based on Dropdown Selection
I have (1) dropdown field named (CAT) that contains (7) items and repeats in (31) rows. I also have (3) different decimal fields (REG, TIMEHALF, and DBL) which may or may not contain data, that also repeat in the same (31) rows. Lastly, I have a separate field (BASEBLDGTL) that is not connected to the table, which I want to use to calculate the (3) different decimal fields base on the selection of the dropdown field. So basically, I'm looking for the BASEBLDGTL field to add all of the REG, TIMEHALF, and DBL fields together for each row if the first item in the dropdown field is selected. I also want the BASEBLDGTL field to be able to pickup on possible changes to the selection of the CAT dropdown field. Any help would be gracefully appreciated as I'm a complete idiot in Java and FormCalc.
I'll give this a shot, but I'm not entirely sure what you're asking.
var amounts = xfa.resolveNodes("tblParts.Row1[*]");
var total = 0;
for (var i=0; i<amounts.length; i++) if (amounts.item(i).ddSomething == "abc") total += amounts.item(i).ExpenseAmount;
//go through the table, if the drop down matches what you're looking for, add that amount to the total
nfExpenseABCTotal.rawValue = total; -
Event on Dropdown selection in Web Planning layout
Hi,
I have 2 Exit planning function which are written before Layout and After Save function. Currently we have 3 dropdown menu which are selection criteria for org data by which we can get the concern Group data.
Here we are using a cycle that After Save function the Before Layout function will execute.
But when we change or select any values in dropdown the Before Layotu function is executing by which the Currency conversion happening twice.
I observed that suppose initially in my layout I can see 2 sales group like
Actual data in Cube is maintained in USD and layout we are converted to EUR
Sales Group Plan values
A 1000 eur
B 200 eur
When I select A in drowdown
A 700eur Instead fo 1000EUR the reason is It is not fetching the data from Cube it is using the data in Buffer.
How can I fetch data from Cube ever time when I select any values in the group instead of buffer.
Kindly help me
Thanks
Naveen<FONT FACE = "Tahoma", Font Color = "Blue">
Hi<br>
I think you would have to use an EXIT Funtion using SEM APIs that refresh SEM Buffer. This would release the locks. You can call this Function after first currency translation.
<br><br>
Hope it helps.<br>
Cheers Abhijit</FONT><FONT FACE = "Verdana", Font Color = "Red">
REMOVED
</FONT>
Maybe you are looking for
-
IPhoto '09 Facebook upload problem
I have been uploading photos using iPhoto '09 to my Facebook account for years. Just a couple of days ago I started receiving a message box "Do you want to set up iPhoto to publish to Facebook?" when I click on the Facebook icon. If I go ahead with
-
My Ipod mini will connect no probs, but iTunes 8 just will not pick up my iPhone 3G. My office computer will, but not my home one (which it was originally synced with). I ran diagnostics and this is the result: Microsoft Windows XP Professional Servi
-
Two versions of Robo on one machine
I have RoboInfo 5 and RoboHelp 7 installed on my computer. RoboInfo publishes to RoboEngine on Win 2000 server. RoboHelp 7 publishes to RoboHelp 7 Server on Windows 2003 server. I recently upgraded to a newer computer. We re-installed RoboHelp and th
-
Actually I have a small doubt regarding PCI 6224.So far I have seen that the digital pins are only used for frequency measurement and PWM generation. But there are 48 digital pins which is more compared to analog pins. so can you suggest me some new
-
Where is the remote tab on i tunes ?
where is the remote tab on I tunes I cant find it