Forum Discussion
ChuckGrigsby
8 years agoQrew Cadet
I would do this with some javascript. Using a multi-select user field it will take all thats selected and create that many records with any assigned values as well. Have a demo of this if you'd like to setup a call. Chuck@Chuck.Support
Welcome to edit my code and use it. Basically in my case the multi select is a document type. and when they click save it creates children doc records, one for each value selected.
$(docType).each(function(i, val) {
csv += kRid + ", " + val + ", " + new Date() + " \n "
})
var dataDocs = {
act: "API_ImportFromCSV",
records_csv: csv,
clist: "12.7.15"
}
var addDocTypes = $.post(dbidDocs, dataDocs)
addDocTypes.done(function(xml) {
console.dirxml(xml);
var rids = $("rids rid", xml).map(function() {
return $(this).text()
})
Welcome to edit my code and use it. Basically in my case the multi select is a document type. and when they click save it creates children doc records, one for each value selected.
$(docType).each(function(i, val) {
csv += kRid + ", " + val + ", " + new Date() + " \n "
})
var dataDocs = {
act: "API_ImportFromCSV",
records_csv: csv,
clist: "12.7.15"
}
var addDocTypes = $.post(dbidDocs, dataDocs)
addDocTypes.done(function(xml) {
console.dirxml(xml);
var rids = $("rids rid", xml).map(function() {
return $(this).text()
})