Redirect user to share page on custom form submit
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2014 01:01 AM
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.
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.
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2014 10:14 AM
I used a simple javascript to redirect to another page on success callback of Ajax call to send email….
window.location.assign("another page")
is it correct? Is there any alternate way which is the correct approach? Please suggest.
window.location.assign("another page")
is it correct? Is there any alternate way which is the correct approach? Please suggest.
