Skip to content

Easier method for scripture Input #147

@genu

Description

@genu

For the longest time, the scripture has been inputed as: book, chapter_begin, verse_begin, verse_end, chapter_end, book2, chapter_begin2 etc.

A good improvement to this, is to allow the user to enter scripture references directly like so:

John 3:16, Romans 1:16

I'm thinking this could be implemented as a single text field with autocomplete, so that only correct scripture references are acceptable.

A utility class will need to be created to validate a given input to test whether its a valid scripture or not. (i.e. John 3:16 would be valid, while john 0:16 would be invalid). The user is alerted whether a references they entered is valid or not as they're entering it. Multiple references are simply separated by a comma.

Taking this approach, will allow us to truncate more than 10 columns in the message database.

Related Tasks

  • It will require a data migration from the old format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions