Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
10649 มุมมอง


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi MouBou,

You can change the required field from True to False as,

<field name="field_name"  required="False"/>


Thanks & Regards

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

You must have technical settings enabled (v8) or be in developer mode (v9) then go to settings -> Technical - > DB Structure - > Fields

There you search for the fields you wish to turn off to be required, open it an deselect the required checkbox.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Dear MouBou,

You need to check attrs keyword example in xml file.

Cheers, 

Ankit H Gandhi.

อวตาร
ละทิ้ง