Help with Forms ( FR1931 & FRBirth (custom form) kindly provided by @PLegoux )

Hi,
I would need your explanations concerning the different behavior of 2 forms that I tried.
Where did I make a mistake ?

  1. First Form : standard FR1931

    Form completed

Result : several events (birth) have been created

  1. 2nd Form FRBirth (custom form) kindly provided by @PLegoux

Form completed

result : only 1 event has been created

Thank you !

As I read, the first is a list of people with birth info. An event is created for each birth.

The second is the birth of a single person with multiple people having different roles (mother, father, witness, official) for that (single) event. If you look at the mother (for instance), she should have the event with the role of mother (or parent or …).

Hi
Thank you for the answer !

The first form is a census.
For each year and place of birth field, an event has been created.

The second form is indeed linked to an event, but the same year and place of birth fields did not generate an event.

For the mother, we find the role of mother.

What determines whether a field will generate an event or not?
or, is it possible in custom form to specify if an event has to be create or not?

From the documentation https://gramps-project.org/wiki/index.php/Addon:Forms_Gramplet#Writing_your_own_form_definitions

I think the section – type/role defines this. In the census xml, the following is used to generate multiple events with people with Primary role:

section role=’Primary’ type=’multi’

For the birth cert, the following is used to create different roles but a single event.

section role=’Primary’ type=’person’ title=’Child’
section rold=’Father’ type=’person’ title=’Father’

Thanks you GaryGriffin !
I’ll have to try modifying the FRBirth form to see if that’s it!
Bertrand

Hi
i m a bit puzzled by this post.
When i used the same form FR1931 i have only one event created by person but no birth event created.
How is it possible?

1 Like

This is the type of functionality that @RenTheRoot was writing. I wasn’t aware that she’d made any code public yet though. I’ve only seen screenshots.

My tests were done 2 days ago with

Sorry for the confusion. The FR1931 form is a census form and only creates census events. I mistakenly said birth event.

but it actually created 1 census event (Recensement) , the last one, and several birth events (Naissance)

For my part, still using v5 I do not encounter this problem (and my custom.xml file I shared with @105rn doesn’t include any FR1931 definition but a FR1931V2)

Agreed. Gramps 5.1 with the Forms addon using the FR1931 Form creates a single Census event with each person each having a Primary Role on the event. No Birth events are created.

Gramps 6.0.3 also only creates a single Census event and no Birth events.

I don’t know how I managed to get these events…
but I’m sure I didn’t create them “manually” : I would never be fast enough to create an event with date, location… in 23 seconds (17:51:24 - 17:51:47)

Maybe you used the FRBirth form (which creates Birth Events) for each person and then used those people in the FR1931 form? Just guessing.

I tested with the same 2.0.50 version of the Forms addon and it only created Census event, not Birth event.

One way to check would be to go to the People view (or whichever view you added the Forms gramplet) and see if there is an existing instance of the FRBirth form for those people.

Alternately, you can try to reproduce with new people.

I’m sure I didn’t use FRBirth to create these people with a birth event.
In the Individual view, there’s no reference to FRBirth.

However, I added new individuals to the FR1931 form, and no new event was created.to these individuals

I think I’m going crazy.

In the events view (or elsewhere) is it possible to show the date and time of creation (and not last edition) of events?

Look at the Formulaire tab to see which one you used. You’ll see the source and then you can see the form atrribute

In fact, I know that these birth events were created by the FR1931 census form, because to try it, I created a new file.
Subsequently (several days later), I also tried the FRBirth form in this same file, but with different names.
My file therefore only contains 18 individuals, and I have 10 birth events that were created automatically (and by magic).
The creation date and time were only intended to prove that their creation was automatic.

I think we should file this under the unsolved mysteries of computer science and move on (especially since, if I understand correctly, there might be something new about the forms soon).

Thanks everyone!

Hi

I had in my mind some memories about that kind of things.
and i was afraid i miss this great improvment.

Yes, for me who still doesn’t know where to start with this software, it would really be a big development.