when trying to submit an inline form I get the error: An illegal choice has been detected. Please contact the site administrator
Even when none of the form fields is set to be required, even when I fill all the fields.

I try to use the inline form to create new lines (node type) for invoices (another node type with EntityReference field)

anyway I get this error for no obvious reason and I need to ask you guys if there is a hack-way for disabling the validations on this module?

CommentFileSizeAuthor
#3 installed_modules.txt22.55 KBredhatusr

Comments

redhatusr created an issue. See original summary.

bojanz’s picture

No such error has been reported before, so it's not the default validation logic that's causing your problem.
Unfortunately, I can't offer more help until you narrow down the cause and provide more information.

Can you give us a list of fields on both node types? Might help to reproduce the issue.

redhatusr’s picture

StatusFileSize
new22.55 KB

Lines node type

*** inside group field group_multiple_container ***
field_desc	Text	Text field
field_net	Decimal	Text field
field_qty	Decimal	Text field
field_total	Decimal	Text field
field_tax	List (text)	Select list	
field_vat	Decimal	Text field
field_sum	Decimal	Text field

Invoice node type

field_title	List (text)	Select list
field_contact		Entity Reference	Select list
field_date		Date			Pop-up calendar
field_type		Boolean			Check boxes/radio buttons
field_lines		Entity Reference	Inline entity form - Multiple values
field_msum		Decimal			Text field
field_mvat		Decimal			Text field
field_mtotal		Decimal			Text field
field_paycredit		Decimal			Text field
field_paycard		Decimal			Text field
field_paydeposit	Decimal			Text field
field_paycash		Decimal			Text field
field_tags		Term reference	Autocomplete term widget (tagging)
body			Long text and summary	Text area with a summary
field_paycash_comp	Computed		Computed
field_msumc		Decimal 		Text field

Inline entity form settings

Allow users to add new nodes
Delete referenced nodes when the parent entity is deleted
Number of values: Unlimited
Entity selection mode: Simple
Target bundles: Line
dcam’s picture

Status: Active » Closed (outdated)

I'm closing old IEF support issues. Please feel free to re-open the issue if you still require assistance.