Skip Navigation

[Resolved] Can't create CRED post forms using conditional custom fields

This support ticket is created 4 years 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
- 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 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 11 replies, has 2 voices.

Last updated by henrikB-3 4 years ago.

Assisted by: Shane.

Author
Posts
#1818951
Screen Shot 2020-10-21 at 15.22.01.png
Screen Shot 2020-10-21 at 15.20.13.png

When you add a new post, depending on what option you choose in an select field more fields should popup in a cred post form.

In the post form editor I have used "conditional group" to set up the conditions for that particular field to emerge. But it does not work.

I have tried the same "setup" on a diffrent site and it worked.

I find it very strange that it does not work.

see my image for details

#1819221

Shane
Supporter

Languages: English (English )

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

Hi Henrik,

Thank you for getting in touch.

Can you send me a link to this page on the frontend where you've setup the conditional ?

I know that if there are any Javascript errors on your website's console then it will cause the conditionals not to function.

Thanks,
Shane

#1819345

Hi Shane
here is a frontend form that has some conditionals. hidden link

Like "typ av förening" should "studentförening" have two other fields showing up and "kårförening" have one field.

If you would like to have admin access, let me know.

regards Henrik

#1819381

Shane
Supporter

Languages: English (English )

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

Hi Henrik,

I'm not seeing any errors being generated in the website's console so it seems to be an issue with the form itself.

Can you allow me to have admin access to the site so that I can check on the further for you ?

I've enabled the private fields for your next response.

Thanks,
Shane

#1821281

Shane
Supporter

Languages: English (English )

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

Hi Henrik,

So the conditional that you've set in types works on the forms with my newly created form.
hidden link

Not sure why it doesn't work with the manual conditional on the form but you can set the condition in the Types field area and it will work on the form itself.

Thanks,
Shane

#1821413
Screen Shot 2020-10-22 at 19.36.08.png

Ok. thanks.

It is strange that you can't make conditionals in the post form editor when you have the possibility to use conditional groups.

When you are doing it the way you did it, how do you get rid of the field names when you haven't choosen any options?

thank you Henrik

#1821479

Shane
Supporter

Languages: English (English )

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

Screenshot 2020-10-22 at 1.32.53 PM.png

Hi Henrik,

It is strange that you can't make conditionals in the post form editor when you have the possibility to use conditional groups.

I'm not saying you can't because you can, the issue is i'm not sure why it isn't working on your end.

You should be able to remove the field label by editing the field itself. See Screenshot

Perhaps the issue is unique to your server. You mentioned that your other sites work fine with the conditionals. I'm assuming that they are on a different server from this one.

Thanks,
Shane

#1826349

Hi

The other domain was on a diffrent server the first time I tried it. I did a duplicator copy of it and uploaded it to the same server as studentumea.se but now campusloppis.se (both of the domains lay on the same Ip address)

you can check a CRED form out here hidden link

Next I will try to upload the duplicator copy on studentumea.se and see if it works or not.

/Henrik

#1827671

Shane
Supporter

Languages: English (English )

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

Hi Henrik,

Have you tried uploading the duplicator to the next server?

If so can you let me know if the issue is still present there?

Thanks,
Shane

#1827675

Hi

The problem is not present. hidden link

What shall we do? My issue is resolved now but we don't know that caused it in the first place.

/Henrik

#1832461

Shane
Supporter

Languages: English (English )

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

Hi Henrik,

Given that the issue works fine and is the exact same site I can only assume that its an issue with the server itself not being compatible with the plugin.

Unfortunately seeing that there are no errors being generated I can't give an exact point to say what is the exact issue.

Thanks,
Shane

#1832777

My issue is resolved now. Thank you!