Passing information on a new form

rss

Posted by Katerina - May 12 ’14 at 10:43

Hi Dimitry,

Is the following possible with the related ites in SP Forms?

Manipulate the “Add” item links on the sub-grids / related data so that when we open a new form we can have information passed in the query string

 

Thanks

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 9 years 8 months 7 days
    #1 by Dmitry Kozlov May 13 ’14 at 03:44

    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:

    http://forum.spform.com/forms-designer-for-sharepoint-20/cross-site-lookup-add-new-item-24143/

  • Katerina
    Member
    Member for: 9 years 29 days
    #2 by Katerina Jun 19 ’14 at 06:07

    Hi Dimitry,

     

    Thanks for your reply and appologies I didn't come back to you earlier. What do you mean by child form? I thaught that we could passed info in the same form as we do when we pass a query string from the usrl. Is that right?

     

    Thanks 

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 9 years 8 months 7 days
    #3 by Dmitry Kozlov Jun 19 ’14 at 11:59

    [#2]: 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.

  • Katerina
    Member
    Member for: 9 years 29 days
    #4 by Katerina Jun 19 ’14 at 12:06

    So do I need to have two new forms? One parent and one child?

     

     

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 9 years 8 months 7 days
    #5 by Dmitry Kozlov Jun 19 ’14 at 12:13

    [#4]: Not sure I understood you. Could you describe the case in more detail?

  • Katerina
    Member
    Member for: 9 years 29 days
    #6 by Katerina Jun 19 ’14 at 12:18

    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

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 9 years 8 months 7 days
    #7 by Dmitry Kozlov Jun 19 ’14 at 12:37

    [#6]: 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 [email protected].

  • Katerina
    Member
    Member for: 9 years 29 days
    #8 by Katerina Jun 20 ’14 at 09:10

    If you iplement that for us, will it be something that we will be able to use in other scenarios or it will be something specific for that scenario?

     

    Thanks

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 9 years 8 months 7 days
    #9 by Dmitry Kozlov Jun 23 ’14 at 04:37

    [#8]: It will be the script for the specific scenario but you will be able to adapt it to similar scenarios.

  • alvina adolf
    Member
    Member for: 1 year 11 months 24 days
    #10 by alvina adolf Sep 16 ’21 at 07:30

    Students who are searching for a writing service you must take help from Assignment Bank. It is one of the best platforms for students to take online writing assistance. With the assistance of qualified writers, the assignment writing process becomes very easy for the students and they can easily finish the assignments without any worry. One should invest in the online writing service given by this platform and you will have access to many modern features which you won't get anywhere else. We have secure payment options on our website and you will get plagiarism-free assignments. We have been working for years for the benefit of students and we will continue to offer to <a href="https://www.assignmentbank.co.uk/writing/research-paper-help-uk/">research paper help UK service</a> and <a href="https://www.assignmentbank.co.uk/writing/tefl-assignment-help/">TEFL Assignment help online</a> to the students. Take our writing help for finishing your assignments without any delay.

Displaying 1 to 10 of 16 messages
Previous12