Currently, the date_popup_process() function sets the '#element_validate' part of the form array to be a new array. This wipes out any value that might have been set by the code that generated the form element in the first place. The solution is to treat this as an array, and append the value. If that element of the form array does not already exist, an array is created. See the attached patch.

CommentFileSizeAuthor
date_popup_validate.patch.txt1.6 KBgribnif

Comments

karens’s picture

Status: Needs review » Fixed

This was committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.