You need to sign in to do that
Don't have an account?
ywang
<input type=hidden name="00N10000000IlGg" id="00N10000000IlGg" value="{!Account_MHFGSections3}">
</body>
How to copy a multi-select item?
Hi all!
I am working on developing a scon to copy an Account just like the copy button on Opportunity scene.
But a multi -select item was found not be copied well
For Example, The original item has multi-selected a,b and c. the copied item will be shown as "a;b;c" in one row.
The source code of the s-con is as following.
<body onLoad="document.myForm.submit()">
<form method="POST" action="/001/e" name="myForm">
<input type=hidden name="RecordType" id="RecordType" value="012100000008S5Z">
<form method="POST" action="/001/e" name="myForm">
<input type=hidden name="RecordType" id="RecordType" value="012100000008S5Z">
<input type=hidden name="00N10000000IlGg" id="00N10000000IlGg" value="{!Account_MHFGSections3}">
</body>
Bye the way, I knew that the same problem could be done by using URL as following
But for this case I have over 50 choices, so the URL pattern will not work .
Could anybody give me a hint?
Ywang / Community,
I'm looking for the exactly the same type of solution.
Did you ever get a solution for this problem? Anybody?
Thanks,
Anthony
Ywang,
Your code got me going in the right direction, I like the Form/Submit technique. Below is a method that worked pretty well. This S-Control runs in the same browser windows (not a popup).
The trick is to parse the semi-colon delimited value then write a form variable line for each value.
I am processing 4 different mult-select picklists in the code below. I tested it with blank, 1 and multiple values.
Hope this helps!
Anthony
Code: