Skip Navigation

[Resolved] Post Form with relation

This support ticket is created 6 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 6 replies, has 3 voices.

Last updated by Christian Cox 6 years, 2 months ago.

Assisted by: Christian Cox.

Author
Posts
#1144250

I am trying to:
Create a Post with 2 realations to parent records

Link to a page where the issue can be seen: hidden link

I expected to see: in the Field with the Label [Genossenschaftsmitglied] should be 2 records, that seems to be allright but in the field with the label Teilnehmer should be 18 records

Instead, I got: only 10 records out of 18

I can not find any customizing option.

#1144504

Hi, can you provide login credentials here so I can take a look?

#1144517

Please do not make changes in the structure of data or relations when this effects changes at the output of the records via REST API, becaues we retrieve the records into an iOS and Android APP.

#1144529

The post reference field seems to be working correctly. All the options will not be shown, by default. You must start typing, then matching results will be loaded. If you would prefer to show all options, add the use_select2="never" option to this field. The typeahead feature will be disabled and all results will be visible.

[cred_field field="vendornewsrelation" force_type="field" class="form-control" output="bootstrap" select_text="--- nicht eingestellt ---" use_select2="never"]
#1144814

Great, that works.
how can I show only the records from the logged-in user?

New threads created by Christian Cox and linked to this one are listed below:

https://toolset.com/forums/topic/only-show-current-users-posts-in-post-reference-field/

#1145213

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Werner,

Christian is on Holiday today and will be back tomorrow to answer any concerns you may have.

Thanks,
Shane

#1145952

We have a one topic per ticket policy, so I've created a separate ticket where we can follow up to filter the post reference field: https://toolset.com/forums/topic/only-show-current-users-posts-in-post-reference-field/

Thanks!