I am able to "Add another item" but not delete it! This means that if I change my mind, after clicking on "Add another item," I cannot save the page without filling out those fields. It does not allow me to. If I hit the back button, then I can save. This is not intuitive and should be corrected. There should probably be a simple red X graphic/button to click on to delete the item that was added in error.

Comments

flickerfly’s picture

First, I'm really excited about this module. I've been messing around with a sermon feature for awhile and this has been a major hole in doing that well.

This is also a problem if you have "unlimited" on and you are shown two options, but only fill out one. You have to get rid of it somehow, but you can't. I don't have the "required" setting set either.

I'd expect if "Book" is the book of the bible selected that I'd not need to fill out the rest of the fields. If "Required" was selected on the field, then I should only be required to fill out the first one.

Here's the exact error:

  • An illegal choice has been detected. Please contact the site administrator.
  • An illegal choice has been detected. Please contact the site administrator.
  • You have selected verses but not chapters

If I go into the drupal logs, I find this message also: "Illegal choice 0 in field_bible_passage element."

chrisshattuck’s picture

The way you would remove an existing element is to, as flickerfly mentions, is to de-select the book by setting it to "Book". The issue flickerfly was having was with the "You have selected verses by not chapters" is when you have verses selected but no chapters, which would happen when setting the book to "Book" and not setting the verses back to "Verse". I have added a behavior in the BETA2 version that resets the verses inputs so this shouldn't be an issues.

Flickerfly, can you give BETA2 a go and let me know if you get any errors?

Thanks!
Chris

chrisshattuck’s picture

Status: Active » Fixed

Setting to 'fixed'.

flickerfly’s picture

My problem here is cleaned up, thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.