Public forms

Post Reply
User avatar
kubera
Posts: 94
Joined: 01 Feb 2018, 14:42
Name: kubera
Location: Poland

Public forms

Post by kubera »

Hi
There is an issue with Public forms.
I`ve got Entity 'KOP' with two subentities 'Ankieta' and 'Jednostki'. In 'Ankieta' there is a field 'Jednostka' (entity type) where selected entity is 'Jednostki'.
I`ve added 2 records to 'KOP' and added different items to 'Jednostki' in every of 'KOP`s' record.
When I`m adding new record in 'Ankieta' then field is filled with items of current KOP->Jednostki. It`s OK.
Then I`ve created Public Form where I`ve set entity to 'Ankieta' and choose one of records of 'KOP'.
In Public Form the list of 'Jednostka' is filled with all items from 'Jednostki' instead of the choosen one.

I tried also other entity types for 'Jednostka' but without success.
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Public forms

Post by support »

Sorry, not clear what do you mean.
User avatar
kubera
Posts: 94
Joined: 01 Feb 2018, 14:42
Name: kubera
Location: Poland

Re: Public forms

Post by kubera »

General structure
1_structure_1.png
Fields of entity 'Ankieta'
2_ankieta.png
3_ankieta_2.png
Records of 'KOP'
4_kop_all.png
4_kop_all.png (6.95 KiB) Viewed 2458 times
Records of subentity 'Jednostka'
5_kop_ser_jedn.png
6_kop_ubs_jedn.png
Adding to 'Ankieta' entity
7_kop_add.png
Public form structure
7_public_form_structure.png
Entity combobox is filled with all records from 'Jednostki' of 'SER_W1' and 'UBS_W1' instead onlny from 'SER_W1'
8_public_form.png
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Public forms

Post by support »

When you logged you have select parent first and that is why entity dropdown depend with selected parent.

In public forms there is no parent record selected and that is why you see all items.
User avatar
kubera
Posts: 94
Joined: 01 Feb 2018, 14:42
Name: kubera
Location: Poland

Re: Public forms

Post by kubera »

But in structure of public form I choose SER_W1 as parent record. :?
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Public forms

Post by support »

Ok, I see. Added plan to fix. I will let you know.
User avatar
kubera
Posts: 94
Joined: 01 Feb 2018, 14:42
Name: kubera
Location: Poland

Re: Public forms

Post by kubera »

Any chance for this fix in ver 2.6? Or maybe earlier?
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Public forms

Post by support »

Yes, it's in plan for 2.6
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Public forms

Post by support »

Fixed for 2.6
If you set Parent and hide it in public form then parent ID will be using in Entity field to filter values.
User avatar
kubera
Posts: 94
Joined: 01 Feb 2018, 14:42
Name: kubera
Location: Poland

Re: Public forms

Post by kubera »

Can`t wait :D
Post Reply