“Link Field” and “Image Upload Field” validations issues after update PdB
-
Hi Roland! such a long time!
Today I found two issues after many months doing PdB updates but without the need to submit new records in a site created a few years ago. I mean, I updated PdB but not really tested on the real world on that site.
1) In a “Link Field” I was getting the Invalid Field Error Message: “The (my field) field appears to be incorrect.” The value was a valid Google Drive URL.
I went to Manage DB Fields and changed that field form “Required” to “Not required” and problem solved (maybe that way no validation is performed).
The field have a “click here” text in the Default Value and a “target::_blank” in the Attributes, nothing new. Not sure what is causing the validation issue here.2) In a “Image Upload Field”, I was getting a similar validation error.
I went to Manage DB Fields and found in Attributes “allowed:: ” (empty), so any file extension was allowed. I changed it to “allowed::jpg” and problem solved… Seems like in a PdB update the default value?of Attributes was automatically set to “allowed::”Hope it helps. Best regards!
Wordpress 6.0.2
PdB: 2.1.10
- The topic ‘“Link Field” and “Image Upload Field” validations issues after update PdB’ is closed to new replies.