This project is read-only.

Custom form validation question

Topics: Core, Customizing Orchard, General
Dec 29, 2013 at 3:02 PM
Hi All,
I'm trying to do something that I think is quite simple - but I'm here now so it can't be that simple right :-)
I've created a contact us form, I can submit it and everything is fine (I've even created a workflow with notification so I can see the values are fine) - Hoorah!

What I'm trying to do now is add validation for the email address - so is it a valid email address, has it already been submitted to us, etc.

I couldn't see anywhere to do this so I wrote a web service and deployed it (works fine).
I've now tried to extend the work flow with a https item and call the web service - yep, you've guessed, this is where things start going pear shaped.

Can anyone tell me how to call a web service from the workflow or how to create and call a custom activity from the workflow engine?

any help gratefully recieved.

Thanks in advance,