Active
Project:
Field Validation
Version:
7.x-2.6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 May 2016 at 18:13 UTC
Updated:
3 Jun 2018 at 15:42 UTC
Jump to comment: Most recent
Hi,
I want to set field_other empty as follows in PHP validator but it doesn't work.
$this->entity->field_other['und'][0]['value'] = "";
Any ideas ? Thanks
Comments
Comment #2
shishirsuvarna commentedHi Paulwdru,
Try this :
$this->entity->field_other['und'][0]['value']['#default_value']= "";
Hope this works!
Comment #3
dqdDescriptions of the Priority and Status values can be found in the Issue queue handbook.
Critical is not the proper Priority for this request.