Inline spreadsheet pass values
Hi
I am using the inline grid as per following link
http://spform.com/forms-designer- ... point-form
I would like to pass the values from the parent to the child similar to the way the id has been passed on, the fields i would like to pass the values are
Date Raised : date field internal name date_x0020_raised
Department : lookup field
Site: Choice field.
I am using the inline grid as per following link
http://spform.com/forms-designer- ... point-form
I would like to pass the values from the parent to the child similar to the way the id has been passed on, the fields i would like to pass the values are
Date Raised : date field internal name date_x0020_raised
Department : lookup field
Site: Choice field.
For that you simply need to do something like this:
A summary of various ways of retrieving field values: http://formsdesigner.blogspot.com/2013/ ... -form.html
Code: Select all
fd.populateFieldsInGrid($('.related-items'), {
myField: fd.field('InternalName').value(),
etc..
});
Thanks, it seemed to work for the lookup field, however when i try the date field it does not enter the date in the child item.
fd.populateFieldsInGrid($('.related-items'), {
Date_x0020_Raised: field('Date_x0020_Raised').control('getDate'),
});
fd.populateFieldsInGrid($('.related-items'), {
Date_x0020_Raised: fd.field('Date_x0020_Raised').value(),
});
fd.populateFieldsInGrid($('.related-items'), {
Date_x0020_Raised: field('Date_x0020_Raised').control('getDate'),
});
fd.populateFieldsInGrid($('.related-items'), {
Date_x0020_Raised: fd.field('Date_x0020_Raised').value(),
});
Send the source code of the page to support@spform.com
-
- Information
-
Who is online
Users browsing this forum: No registered users and 15 guests