Skip to Content
Former Member
Jun 05, 2014 at 04:20 AM

Is it possible to add placeholders in Localized Resource text?



I am writing a script for validating the file type of attachment file in an Attachment extension field. We have to restrict users from selecting any file other than the allowed types. If user selects a different file, I want to display an error mesage like "File type <selected type> is not supported"

Can I add a localized resource with a placeholder for <selected type>? I want the <selected type> in the error message to be dynamically populated by the value I pass to it from the script. is this possible? if yes, how?