SharePoint Hosted App - Creating cascaded drop down on hosted web lists
Hi,
I have created an SharePoint Hosted App(Javascript Object Model) that creates lists on the host web.
I need to put some javascript into new and edit forms in order to create the cascaded drop down effect on 2 lookup fields.
Can you please give me some advise?
Regards,
Marian
Hope below article should help you
http://blog.pentalogic.net/2010/11/editing-the-sharepoint-list-item-menu-part-2-using-javascript/
http://www.getinthesky.com/2014/03/hide-text-field-sharepoint-form-using-jquery/
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/030471b2-d19a-470f-9a9e-0fd8a229138b/how-do-i-create-a-new-item-form-that-allows-to-save-and-continue-editing?forum=sharepointcustomizationlegacy
Similar Messages
-
Creating cascading drop down boxes in SharePoint 2010 using one list
We have a support request form tied to a list that end users input data into which when submitted sends out an email.
Is it possible to create a drop down box on the form that limits the choices in the "subcategory" column, based on what is chosen in the "category" column.
For instance in the category column we have SharePoint, Oracle, and Web Tools as choices.
In the subcategory column we have items related to each category. We only want items that are related to the selected choice to appear in the subcategory drop down box.
I see examples in InfoPath using "Multiple Lists" (one list for city, one for state, etc), but nothing using the same list. I would rather not use multiple lists if possible.
Anyone have any ideas? Thanks.Hi,
According to your post, you want to create a cascading drop-down list box using one list.
To achieve what you want, we can:
Create two fields(category and subcategory) in drop-down list box type in the form in InfoPath.
Add the list which contains the values of the category and subcategory columns to the form as an external data.
Right click the category field, click Drop-Down List Box Properties, and choose Get choices from an external data source.
Choose the list added in step2 in Data source, click XPath behind Entries, click the category column in the list, select Show only entries with unique display names.
Right click the subcategory field, click Drop-Down List Box Properties, and choose Get choices from an external data source.
Choose the list added in step2 in Data source, click XPath behind Entries, click the subcategory column in the list, then click Filter Data.
Click Add, select the category column in the list in the first box, select is equal to in the second box, choose select a field or group in the third box, then choose Main in the Fields and select the category field in the form.
Click OK.
Best regards.
Thanks -
hi,
how to create cascading drop downs in vc
i have two queries each providing data to their respective drop down.
drop down 1 - material group
drop down 2 - material number
when i select value in drop down 1 i want to filter drop down 2
i want to see material numbers of selected material group.
how to get this.
please suggest me.
Edited by: venkat s on Jan 29, 2008 2:44 PMOK - this is a real puzzle. I have a model with dropdown #1 and #2 in separate views where the content of #2 is filtered by #1.
The deployed runtime version of this model actually work as desired. #2 is reset to default for every new value chosen in #1.
Then, I've made changes to the model, and suddenly #2 behaves as you described - keeping the last value chosen and not returning to default - unless application is reloaded.
So, I've gone back to an older version and tried to duplicate the #2 drop down with exactly the same values, and here is the strange part: the two drop downs behave differently in the same model.
The only thing I have found is related to Prashant's wizard tip: at one stage in development my model had two layers. If I open this model version and take away all layers completely the #2 drop down looses it's desired behaviour. I have therefore kept one layer with all model forms and tables, removed all wizard navigation so the application looks like it's not using layers at all.
The strangest thing though is that if I add a duplicate #2 again in this layer-model it won't work as the original. I simply cannot find a logical answer to this problem now. When I do, I will update.
Another thing: For the #2 drop down that works as desired I cannot see the entry list configuration anymore. I originally chose a dynamic list type, but when I open it now it's showing the global variant with no global list defined! (this must be a bug as if I don't touch this config it still running as a dynamic list when deployed).
If you (or anyone) solve it first, please tell us!
Henning Strand
Edited by: Henning Strand on Jan 30, 2008 11:13 AM -
Hi,
I want to create a cascading drop down. The view object for the drop down contains two bind variables. In the JHeadstart application definition I fill one bind variabele with text (this is for finding the correct domain in the underlying table) and one with an unchangable item of the master screen. This item is always filled and is already filled while entering the screen.
This drop down works fine in one application module, but if I create the same domain in another application module on both places this isn't working anymore. Of course the name of the item that I bind is changed for the second application module. Both application modules are children of one top application module which contains the view object for the drop down.
I allready tried if I create several view object instances on the child application module level but this also does not work.
What am I doing wrong (I followed the steps creating cascading drop down lists in the JHeadstart guide).
MarianneAlso this problem did arrise because the domain names in the application definitions are not unique over the application modules.
-
How do i create a drop-down menu in SharePoint that redirects to a new page?..
Helly everyone, i have a question and really hope someone can help me out here:)
In SharePoint i want to create a drop-down menu that has the possibelty to redirect to other websites.
I fount the code below and it works but just not in SharePoint:(
It only shows the drop-down list but it doesn't redirect you to another website if you click on a site.
Can someone please help me out because it's really getting frustrating.
<form method="post" action="" name="">
<select name="select15" onChange="window.open(this.options[this.selectedIndex].value,'_parent')">
<option selected>Please Select Site to Visit</option>
<option>---------------------------------------------------</option>
<option value="http://leedssocialclubs.co.uk">Leeds Social Clubs </option>
<option value="http://yahoo.co.uk">Yahoo </option>
<option value="http://msn.com">MSN </option>
<option value="http://Moonfruit.com">Moonfruit </option>
<option value="http://burystaffhire.moonfruit.com/#/home/4548482603">Bury Staff Hire</option>
</select>
</form><form>
<select name="URL" onchange="window.location.href=this.form.URL.options[this.form.URL.selectedIndex].value">
<option value="">Choose a site</option>
<option value="http://webdesign.about.com/">Web Design Front Page</option>
<option value="http://webdesign.about.com/library/beginning/bl_begin.htm">
Beginning HTML</option>
<option value="http://webdesign.about.com/od/javascript/">JavaScript Help</option>
</select>
</form>
Demo url
http://webdesign.about.com/od/examples/l/blfaqddredirect.htm
script url
http://webdesign.about.com/od/javascript/a/aa050701a.htm
For me it is working fine -
Cascading drop-down from spreadsheet
Hello,
I need some assistance, I am creating a SP but I need to do a look up or cascading drop down using information from a spreadsheet from InfoPath.
Can anyone guide me? All I can find info about is for cascading from a list, but it is a spread sheet
Any tutorial or forum?
Thanks,Hi,
In addition to Hemendra’s suggestion, you can take a look at the link below about how to access Excel file which stores in a SharePoint Library using Excel Web Service with
jQuery:
http://martinezdeveloper.blogspot.jp/2011/07/sharepoint-2010-excel-rest-api-and.html
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
Using the Current Function in a repeating table with cascading drop-downs
I have a Repeating Table where a customer can choose the values for three cascading drop-downs. I then want the member to start a new entry with the same cascading drop-downs but with different results based on their most current input not
based on all their input throughout the form. I also do not want the current input to affect previous inputs replacing what was already entered.
Please assist.
-Ben
Hi,
Based on your description, you don't want to meet the following issues:
The first row returns back all the data from the list up to the value selected.
Any new item added, replaces the value in the other items.
Here is an article about InfoPath Repeating Table Lookup control on SharePoint List, refer to it:
http://www.sumitrawat.net/2009/10/infopath-repeating-table-lookup-control.html
Besides, here is a similar post, you can use as a reference:
https://social.msdn.microsoft.com/Forums/office/en-US/43253974-990d-4307-bf54-cc615618362a/issue-with-cascading-dropdown-in-a-repeating-table
Best Regards,
Lisa Chen
Lisa Chen
TechNet Community Support -
Can cascading drop down menus be created in Acrobat XI Pro? If so, how?
Yes with JavaScript and popUpMenu method.
-
Create a drop-down list that populates from AD
Hello,
Is there a way to create a drop-down list in Excel that will populate from active directory? I'm finding all sorts of stuff for SharePoint, but nothing for Excel.
Thanks!
-DustyIf you are using the following version of Excel:
1.Microsoft Office 2010 Professional Plus with Software Assurance
2.Microsoft Office 2013 Professional Plus, Office 365 ProPlus or Excel 2013 Standalone
You can download and install the Power Query add-in, then you can import the data from Active Directory to Excel.
Wind Zhang
TechNet Community Support -
Is there a way to create a drop down menu with an automatic answer dependent on what is chosen? An if-then statement perhaps? I am looking to add over 100 drop down options and would like to have a message automatically pop up depending one which option they chose. Thank you.
Hi,
You would use the skip logic to conditionally show form items based on the selection within the drop-down menu. Here's a link to a description of the feature in our help documentation:
http://help.adobe.com/en_US/formscentral/using/WSd789abd336388b1642c7fce012da94afe4f-8000. html#WS0faeceb8c23f5d60-774f03e3131ddc76d7d-8000
Regards,
Brian -
Trying to create a drop down menu in numbers...please help
Hi
Can anyone indicate how to go about creating a drop-down menu.
Thanks in advanceHi Meela,
Welcome to Apple Discussions and the Numbers 08 forum.
Check page 66 of the Numbers User Guide supplied with your copy of iWork. The guide refers to them as "pop-up" menus, so a search using "pop-up" will be more successful than one using "drop down".
Essentially the process is:
Click on the cell to select it.
Open the Inspector and choose Cell Format (icon is a cell containing 42)
Click the Cell Format menu and select Pop-up Menu from the bottom of the list.
Double click an item in the list to edit it. Click the + button to add an item, the - button to delete the selected item.
Done.
Regards,
Barry -
How do I create a drop down list to e-mail a form for signature.
The desired workflow is for
1) Firefighter 1 to complete the top portion of the Agreement
section, sign in the Firefighter 1 signature field (which locks the top
portion of the Agreement Section), then select Firefighter 2 from the
e-mail drop down list and e-mail the PDF form to Firefighter 2;
2) Firefighter 2 opens the e-mail and the PDF attachment,
completes the second portion of the Agreement Section, sign in the
Firefighter 2 signature field (which locks the bottom portion of the
Agreement Section), select Lieutenant 1 from the e-mail drop down list
and e-mail the PDF form to Lieutenant 1;
3) Lieutenant 1 opens the e-mail and the PDF attachment, checks
the approved box, signs the Lieutenant 1 signature field, select
Lieutenant 2 from the e-mail drop down list and e-mail the PDF form to
Lieutenant 2;
4) Step three continues through Lieutenant 2, Battalion Chief 1
and Battalion Chief 2
5) Battalion Chief 2 sends the fully completed form back to
Firefighter 1 who copies the completed form to Firefighter 2
Note: if any of the officers disapprove the agreement the disapproved
form is immediately sent back to Firefighter 1katiesandell wrote:
how can i create a drop down menu so that when i click on the arrow in the cell i can select from the menu that appears
Hi Katie,
Welcome to Apple Discussions and the Numbers '09 forum.
Numbers vocabulary for this feature is a "Pop-up Menu". It's available as a Cell Format, and is set and edited in the Cell Format Inspector.
See "Using a Checkbox, Slider, Stepper, or Pop-Up Menu in Table Cells" starting on page 96 of the Numbers '09 User Guide.
This guide, and the equally useful iWork Formulas and Functions User Guide are available for download through the Help menu in Numbers.
Regards,
Barry -
How do I create a drop down menu with Code Snippets and Flash CS5?
Hi
I am wondering how to create a drop down menu using the Code Snippets and CS5?
There are some older tutorials out there and it would be nice if someone could create an updated drop down menu tutorial, and it might be me doing this after I have figured out the best and easiest way to create one, but before that I need some pointers.
Thanks!
Have a great day!
Paal JoachimYou can use panel widget to create manual menu where set to show target on rollover.
Something like this :
http://muse.adobe.com/exchange-library/menu-vertical-accordion-widget-1
http://muse.adobe.com/exchange-library/tiptop-navigation-menu
Thanks,
Sanjit -
How do I create a drop down menu with multiple items in Adobe Acrobat 9?
I am trying to create a drop down menu with four items within a field box. When I try to do this
the font is too big and it just doesn't fit.You can use panel widget to create manual menu where set to show target on rollover.
Something like this :
http://muse.adobe.com/exchange-library/menu-vertical-accordion-widget-1
http://muse.adobe.com/exchange-library/tiptop-navigation-menu
Thanks,
Sanjit -
How can i create a drop down menu for set qty in my store?
I'm wondering how i can create a drop down menu for the qty module that sits on the individual product page. My client sells in quantities of 6 packs. I currently have the minimum order at 6 but i would like to give consumers the option for 6,12,18...and so forth. I was told that it could be accomplished? Hopefully someone can help me.
Hi Chris -
Thank you for your reply! I had seen your article before, and just now again attempted to follow it, but I get stuck. There are two things that I'm confused by.
First off, toward the top, referring to the initial button, you say to add this interaction:
ON CLICK; Play Transition to comboBox: selected
ON ROLL OUT; Play Transition to comboBox normal if comboBox is in over state
ON ROLL OVER; Play Transition to comboBox over if comboBox is in normal
However, I do not see these transition options. When I select the button, the only interactions I have are to Play transistion to state, Play action sequence, Go to URL, and two for videos. So that's the first roadblock for me.
But, trying to get passed that, I went down to the portion of the article that refers to adding interaction to the dataset items. Again, I don't get it, as I see no way to add interaction to a dataset item. When I open my design-time data menu, I do see the items, and am able to rename each item, add additional rows, and change the shape of the datalist layout. However, I see no way to add an interaction to a dataset item. I must be missing a step ... Can you help with this?
Again, thank you!
Amy
Maybe you are looking for
-
Recently changed my apple ID. On my 3G iPhone 4 iCloud has since then been letting me know that my user name or password is incorrect. I can edit the password in iCloud account information but user name is grayed out and can't be changed to my new a
-
I've been building basic DVDs (several tracks, no menus, no chapeter marks) for my job and I'd say 95% of the time I have no problems at all. Then the other 5% of the time the disc ejects about halfway into the burn and there is a messae in the log t
-
How to obtain PERNR during BDC with PA40
Greetings! I recorded a PA40 session and am using the code in my program with success. However, now I must make a call during the BDC code to a FM which requires the PERNR. I'm not sure how to obtain the PERNR while the BDC code is executing. I'm
-
Hi All, I have a sales order with a requested delivery date of 08/31/2010 - Schedule line confirmed with a delivery date of 08/31/2010 and Goods Issue date,Material availability date and other dates of 08/25/2010. when i create a delivery system crea
-
Saxon: recovery policy via Java API? (avoid "Ambiguous rule match" error)
When I switch the XMLTransformer from the Java built in Xalan to Saxon (9), I get many Ambiguous rule match for / Matches both "document-node()" on line 22 of file:/D:/Tmp/test/layouts/lay_Client_T_SM_Notes_2C.xsl and "document-node()" on line 6 of f