I am currently trialling SilverStripe as a possible to replace our current CMS and I was wondering if it is possible to create a form that posts information to a web service and displays the returned information?
Consider this example:
I have a CRM in place that we want to use for all communications from the public. The CRM has a web service that we can call, passing in the fields of data from a form, and it returns either an error or a case number.
So I need to carry out the following steps:
1. Create the form with the required fields (usually on more than one page)
2. When SUBMIT is clicked it passes that information, in a pre-defined XML block, to the CRM Web Service.
3. The CRM returns either an error or a case number. If it returns a case number then display a thank you message and show the case number, but if there is an error then display this on the screen.
If anyone can think of any way I can do this then I would be incredibly grateful!