Saltar navegación

[Resuelto] Custom user fields and Gravity

This support ticket is created hace 5 años, 6 meses. 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Este tema contiene 5 respuestas, tiene 2 mensajes.

Última actualización por Nigel hace 5 años, 6 meses.

Asistido por: Nigel.

Autor
Mensajes
#1272509

Hi,

I'm having issues mapping newly created custom user fields with Gravity Forms.

On this site (enlace oculto) Access plugin is active (enabled) and I'm getting this message from panel where I'm creating this additional user fields (This groups visibility is also controlled by the Access plugin.). If I deactivate Access, same thing. Message disappears but I don't see this custom additional fields in Gravity.

On other website instance (enlace oculto) Access plugin is installed but not activated, and I see new custom created field in Gravity, I can create a User registration form and map (for example additional phone field) with this Gravity form.

Can you please advise me how to enable or what do I have to do in Access to allow visibility of this new custom user fields in Gravity?

Sasa

#1272537

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

Hi Sasa

I can't see the messages you are talking about, did you mean to share a screenshot?

#1272571

Hi Nigel, this is the message

This groups visibility is also controlled by the Access plugin.

And here is the link to screenshot: enlace oculto

Other site, where I don't have Access enabled and I can map Gravity fields: enlace oculto

#1272745

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

I haven't seen that message, I just tried to see if I could modify settings to trigger it, but could not.

But that's not so important.

You say that even with Access disabled you have one site where Gravity Forms recognises the Types user fields and another where it does not.

Gravity Forms doesn't have an integration with Types, so if you are trying to map Types fields in a form I expect the way that it works is that Gravity Forms scans wp_usermeta to find the distinct user custom field keys which it presents to you to choose from.

On the site where you don't see your custom user field the most likely explanation is that there are no saved values for this field in the database yet, so when it scans it doesn't find the field.

Note that Types fields are stored with a 'wcpf-' prefix, so if you have a field 'salutation' then it would be stored with a key of 'wcpf-salutation', which is what you need to look for when mapping fields.

#1276377

Hi Nigel, thanks for the tip. Yes this was the problem. Edited my profile, added some bulk data and Gravity was able to see this newly custom created user fields from types. Thanks so much. Appreciate it.

#1276439

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

Glad that worked out for you, let's close here then.