September 19, 2015 at 00:23 #8495
I am using SPServices to auto fill some information on a particular tab. I am also using headings on this tab. I am wondering if there is a way to have the link in my content editor webpart that says “Click Here” expand or active a tab that has the fields that get their information filled from the spservices script I am running. basically in its simplest form click here, will make a tab visible and hide the other tabs.
September 22, 2015 at 18:11 #8519
You can link to a tab like this:
This will select the third tab as it is 0-based.
September 22, 2015 at 19:15 #8533
September 23, 2015 at 22:35 #8553
OK so this actually does work but I feel like I did not articulate what I am after.
1: End User opens a new form
2: link in CEWP allows them to activate a tab
What I do not see is how I can identify ?ID= without there actually being an ID generated at the time because it is a new, unsaved form. I do not have a problem putting a button in a header in the tabs if this is how to get it done and will work.
September 24, 2015 at 07:07 #8555
Here is code to put in a “Heading HTML” section in a tab:
select by index
<input type="button" onclick="spjs.dffs.toggleSelectedTab(2)" value="Go to tab by index">
select by tab uinqueID
<input type="button" onclick="spjs.dffs.toggleSelectedTab('Tab3')" value="Go to tab by uniqueID">
- This reply was modified 2 years, 4 months ago by Alexander Bautz.
September 24, 2015 at 07:09 #8557
Or if what you meant was to link to a NewForm with tab specified:
You must be logged in to reply to this topic.