Passing information on a new form
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
If you open a child new form in a dialog you can obtain a parent form fields via JavaScript. Example:
window.top.fd.field('Title').value()
You can find more detail in the following thread:
viewtopic.php?f=1&t=65
window.top.fd.field('Title').value()
You can find more detail in the following thread:
viewtopic.php?f=1&t=65
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Actually, not. SharePoint truncates all unrecognized parameters from the query string when opens the specific form. Thus you should use the code from my previous message to obtain values from the parent form.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Not sure I understood you. Could you describe the case in more detail?
Yes sure...
The user will start by filling the first form. After they submit it and is approved they need to fill an other form from the same list and I need to pass 2 fields from the previous form ( from the list item is created before) to the new form. The forms are under the same list as content types. How do I pass those infromation in the new list?
Hope this makes more sence.
Thanks
The user will start by filling the first form. After they submit it and is approved they need to fill an other form from the same list and I need to pass 2 fields from the previous form ( from the list item is created before) to the new form. The forms are under the same list as content types. How do I pass those infromation in the new list?
Hope this makes more sence.
Thanks
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Ok, now I see, thanks. Here you should add JavaScript code into the new form which requests field values of the previously created item via JSOM. Our support team can help you with this task, it will take about 200-300 support minutes depending on the number of columns. If you're interested, please drop the detailed description of the task to support@spform.com.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
It will be the script for the specific scenario but you will be able to adapt it to similar scenarios.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 15 guests