Posted: 21 Jan 2018 4:28 EST Last activity: 20 Sep 2018 22:35 EDT
How to make the category DDL in the attachment control required?
We have our own attachment categories and we don't need the default category "File", so we removed it in our ruleset but we came up with a problem in which the default value for the DDL became the "Select.." and since this DDL is not required so you can just attach without choosing any category which in turn results in attaching the file under the "File" category which we already removed !!
That is because the JSP code of attaching the file sets in the control "pzMultiFilePath" the category to "File" by default.
We need to solve this problem by making the field required noting that the section "pzAttachFileDDFileList" is "Final,Internal" and the "Control:pzMultiFilePath" is also "Final,Internal" as well.
I understand that this is not exactly you look for. But the approach suggested in the link is a workaround by making the category as a required field which would in turn force the user to select an option from the DD.
Thank you for posting your query on PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write a Post button that’s at the top of our Pega Support Community homepage. Once created, please reply back here with the URL of the new post.
We have also sent you a private message opening up a communication channel in case you have any further questions.