Download & Extend

required field in content in flexifield when at least 1 or more

Project:Flexifield
Version:6.x-1.0-alpha5
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

An issue i encountered and dindent find a clear solution for.

When you have a contentype A with required fields.
Use flexfield in an other contenttype B set the required field and number to unlimited.
flexifield provides always 2 posible entrys of contenttype A. witch has required fields for the first and second posibilety.
When you only need 1 you cant validate contenttype B becouse of the mandatory fields in second posibility of contenttype A.

I hope i explained it clear enough.

kind regards

Comments

#1

This also affects me. I must turn off the "Required" property for child fields so that the user can save the parent form. I've attached a screenshot showing a situation where the user has no phone number to enter. Yet, Drupal refuses to save the node because Flexifield added two empty subforms.

AttachmentSize
visual.jpg 30.8 KB

#2

Woops... looks like a duplicate of http://drupal.org/node/442834.