-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Form references[v52] #265
base: maintenance/gramps51
Are you sure you want to change the base?
Form references[v52] #265
Conversation
This seems like a good idea. |
fa58314
to
135892f
Compare
Source formatting adjusted to limit lines to 80 chars. |
Update documentation: https://gramps-project.org/wiki/index.php?title=Form_Addons
How do I co-ordinate documentation updates with this PR / eventual release of the enhancement? |
135892f
to
65822c6
Compare
Follow the format for WHERE_WITHIN_SOURCE in the GEDCOM specification
|
586b02c
to
3eca0e7
Compare
3eca0e7
to
0a0bb2a
Compare
e5f8cbd
to
1e0a909
Compare
The intended use it for the default reference to provide a template. For example for the UK1841 form, the default reference could be 'HO 107//, folio , page' which the user the completes to 'HO 107/782/6, folio 10, page 13'
…in the form defintion.
Reference templates conform to the WHERE_WITHIN_SOURCE format of the GEDCOM 5.5.1 specification
…ates. Note 1: In some cases the default reference fields are also included as heading fields. This is deliberate. If the existing heading fields are removed, any existing data in these fields will no longer display.
1e0a909
to
96b064f
Compare
This needs a rebase. |
@Nick-Hall : rebased onto maintenance/gramps51 |
Teach the Form gramplet about form specific default references. The anticipated use is for a form to optionally provide template text in the reference attribute. This text is then shown in the form GUI Reference field for the user to complete to create a fully formed reference.
The PR is broken into 3 commits:
Fully backwards compatible with existing form definitions. If the reference attribute is missing from the form XML, existing behaviour is maintained.