Home › Forums › Cascading dropdowns › Multiple email addresses include “\n”
- This topic has 7 replies, 2 voices, and was last updated 4 years, 1 month ago by MikeS.
-
AuthorPosts
-
-
August 27, 2020 at 23:31 #31403
Alexander,
I would like to use cascading dropdowns as a multi-value people picker as I can apply filters, which is not possible with SharePoint OOTB multi-value people picker. The emails are auto filled in the second multi-line text box so that they can used in the TO: field in a DFFS email. However, a “\n” is being inserted between each email address and as a result the DFFS email is not being sent to the multiple email addresses collected with the cascading dropdown.
Emails returned from cascading dropdown: john.doe@abc.com;\njane.doe@abc.com;\n
Can the “\n” characters be removed somehow, perhaps with a rule governing another field?
Thanks,
Mike -
August 28, 2020 at 15:28 #31420
Hi,
You find information on how to change this delimiter here: https://spjsblog.com/dffs/dffs-plugins/spjs-cascading-dropdowns/#Change_multichoiceDelimiterJust change it to “;” and you should be good to go.
Alexander
-
August 28, 2020 at 16:06 #31424
I am using DFFS 4.4.4.32. Since I do not see the “Change multichoice delimiter” in my Cascading dropdown options at the bottom of the screen was it added in a later version?
Mike
-
August 28, 2020 at 16:38 #31426
I updated to the latest DFFS 4.4.5.5 and I still do not see the “Change multichoice delimiter” option.
Mike
-
August 28, 2020 at 17:12 #31428
You don’t have that option in the Cascading dropdown tab in the DFFS config, only when you call the function manually form Custom JS: https://spjsblog.com/dffs/dffs-plugins/spjs-cascading-dropdowns/#Invoke_the_function_manually
Alexander
-
August 28, 2020 at 17:22 #31430
Yes, I determined that and have configured my Custom JS. However, I’m unable to deactivate the Cascading dropdowns panel by deleting all entries as I get the message, “Error in “Cascading dropdowns” tab! The FieldInternalName “” is incorrect”
Is there a way to remove that?
Mike
-
August 28, 2020 at 17:31 #31432
You should just hit the “delete” link in the bottom right corner of the Cascading dropdown config.
Alexander
-
August 28, 2020 at 17:51 #31434
Yep, my mistake. I’ve got the Custom JS configured and working great with the correct delimiter.
Thanks for your help,
Mike
-
-
AuthorPosts
- You must be logged in to reply to this topic.