I created a custom form with only two fields like "Title" and "Assignees" (Users). Whenever i upload a content, using document library custom action, i launch this form and choose a Title and Assignees.
My requirement is to send an email alert to all the assignees selected and redirect the current user to a page where the uploaded content is displayed along with other custom fields.
Redirect page has been developed using webscript.
Can i pass the form data to webscript, so that webscript sends the email to all assignees and then load the page? How to pass the data to webscript on form submit? How to redirect user to the page?
Please guide if there is any example similar to my requirement, that helps me to understand and develop.