Creating accounts and remembering passwords for every site you visit has always been a major pain. A simple way around this issue is OpenID. This technology allows you to use a single account to control access to lots of sites in a secure way.
You probably already have an OpenID account but just didn’t know about it.
Keep reading and watch a quick video to see how easy it is to set up…
If you’re integrating your website with Salesforce.com you may need to capture multiple select values. Unfortunately, Salesforce doesn’t accept an array of values (the way PHP sends multiple selects when a form is submitted) so it truncates the values it receives so only the first value gets through. I recently solved this issue when I was building a form for a client.
Salesforce needs a single
pair for each of the values in the same select. So, we need to create something that looks like
The php implode() function is very helpful here so we could just pass the array from the form to a php file and do something like
It would be sensible to urlencode the values of the form data to make sure it arrives safely. So, we need to urlencode the values after they’ve been imploded. If we simply urlencode the array, we no longer have an array and it’s pretty useless.
To send data from the website to Salesforce, I pre-processed the data and sent the request ‘manually’ so my chain of events looked something like this:
Form on website >> php data manipulation >> php creation of POST >> Salesforce.com object
If you have any tips about integrating your website with Salesforce, please drop me a line.