• FlickerboxRoger
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hi,
I have a series of checkboxes in a form represented by a single multi-select picklist field in Salesforce. When I submit the lead, it looks like the values are sent as one single value that gets cut off after 40 characters. How can I report each value individually yet have them be part of the same field.

Thanks for any ideas.
Roger

The html:

Code:
* Current Version Control Solution (please select as many as apply):<br />
<input name="choices[]" value="Accurev" type="checkbox"  />&nbsp;Accurev <br>
<input name="choices[]" value="IBM Rational ClearCase" type="checkbox" />&nbsp;IBM Rational ClearCase<br>
<input name="choices[]" value="Perforce" type="checkbox" />&nbsp;Perforce<br>
<input name="choices[]" value="Bitkeeper" type="checkbox" />&nbsp;Bitkeeper<br>

The php:
Code:
$clean['choices'] = $_POST['choices'];
$choices = array();
$choices = $clean['choices'];
if (count($choices) > 0) {  
for ($i=0;$i<count($choices);$i++)
    {  
        $salesforce_data['00N30000001rpAQ'] .= "$choices[$i]";
    }  
}

 



Message Edited by FlickerboxRoger on 02-11-2008 03:35 PM