Passer la navigation

[Résolu] Dynamic CRED Generic Field Options does not work

This support ticket is created Il y a 4 years, 5 months. 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Fuseau horaire du supporter : America/Jamaica (GMT-05:00)

Ce sujet contient 6 réponses, a 2 voix.

Dernière mise à jour par adamG-6 Il y a 4 years, 4 months.

Assisté par: Shane.

Auteur
Publications
#2264877

I have a dynamic cred generic field using the view name "media" to populate the options. This works perfectly on one site (merit.cjagroup.com) but not on housing-ombudsman-careers.org.uk. Both sites have exactly the same code, views, setup etc.

The post form in question is jobapplication (ID: 91)

The view is media (id:80)

#2264925

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

HI Adam,

Thank you for getting in touch.

Can you send me the link to the frontend page where the form is being displayed?

Thanks,
Shane

#2264941

Hi,

The form can be seen on this page once logged in as a candidate (scrolling to the very bottom)

lien caché

I have created a dummy candidate user account for you:

#2265099

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Adam,

I've made a few changes to the form's code.

Can you go ahead and check on your end if you're able to see the field showing up now ?

Also it should be noted that I added the form to the post page below as a test.
lien caché

However on this page the view is returning no results.

It should be showing normally on the page that its intended to be used on.

Thanks,
Shane

#2265389

Hi Shane,

The view of options appears, which suggests the view is set up correctly, however the generic select form is not being populated with the view options and therefore is not appearing.

This page lien caché when logged in as a candidate

Username: candidate@cjagroup.com
Password: KmLelp1iGUOlRr%bAqzvDLzY

Shows the select drop down options working correctly. The code is exactly the same on this site.

#2265639

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Adam,

I took a look at the page below.
lien caché

The form should now be working. See my screenshot.

The issue was that you didn't select the " Disable the wrapping DIV around the View" option on your view edit page. When this is enabled it will remove all the extra divs that are wrapping your view and provide a clean output that can be used on our Forms.

Thanks,
Shane

#2269679

My issue is resolved now. Thank you!