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

paulwdru created an issue. See original summary.

shishirsuvarna’s picture

Hi Paulwdru,

Try this :
$this->entity->field_other['und'][0]['value']['#default_value']= "";

Hope this works!

dqd’s picture

Priority: Critical » Normal

Descriptions of the Priority and Status values can be found in the Issue queue handbook.

Critical is not the proper Priority for this request.