Search code examples
validationxpagespage-refreshrequiredssjs

Xpages multiple file attachment conflict with partial/full update


I am using the multiple file attachment from openntf but it seems it's a problem when on the same page it is a validation on a field (a required field).

When I click the button to upload the files, I get the error message on the validation field.

Question: How can I have some kind of "Process data without validation" on the file uploader? How can I do this with Javascript?


Solution

  • You have two possibilities to upload files without getting validation error:

    1. Don't include fields with validation into the partial refresh area set by xc:ynUploadFilesHTML5's parameter refreshID
    2. Select "Process data without validation" in custom control ynUploadFilesHTML5's button "refresh"