Skip Navigation

[Resolved] input field and upload button not displaying

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 7 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

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 4 replies, has 2 voices.

Last updated by coetzeeG 7 years, 1 month ago.

Assisted by: Christian Cox.

Author
Posts
#591546

Hi there,

I created a user registration for the classifieds site I'm working on (I'm using the classifieds reference site as my starting point)

All fields on the form are displaying correctly except the custom ones I created, contact number and profile picture.

The form is here: hidden link

Could you point me in the right direction?

#591726

Hi, could you share the code in your CRED form editor? I'd like to see how you have added these fields into the form content.

#591740

Here we go:

The contact form:

	
<div class="form-group">
	<label>Contact number</label>
	[types usermeta='contact-number' user_is_author='true'][/types]
</div>

Profile picture:

	<div class="form-group">
		<label>Profile picture</label>
[types usermeta='profile-picture-logo' alt='%%ALT%%' title='%%TITLE%%' width='500' height='500' align='none' resize='proportional' user_is_author='true'][/types]
	</div>
#591762
Screen Shot 2017-11-21 at 1.54.44 PM.png

Okay it appears that you have added Types fields instead of CRED form fields. Types fields are used to display data that already exists, not to capture data in a CRED form. To add CRED form fields, delete the Types fields and use the "Add User Fields" button to insert a CRED field shortcode. It should look something like the other CRED field shortcodes:

[cred_field field='field-slug' post='user' value='' urlparam='' class='form-control' output='bootstrap']

See the attached screenshot for the location of the correct button.

#591917

Awesome!

Thanks very much, I see where I went wrong.

The forum ‘Types Community Support’ is closed to new topics and replies.