Skip Navigation

[Resolved] Controling Custom fields and taxonomies in cred forms

This support ticket is created 5 years, 3 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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)

This topic contains 13 replies, has 2 voices.

Last updated by Shane 5 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#1176290

I have created a custom taxonomy and a custom field address for products and i am using cred forms for uploading products.
On the frontend i want that custom taxonomy to appear as drop-down or autocomplete and also address which is a custom field i want the map to appear in frontend so that user can put a marker on his position or auto locate the user.
Featured image is not uploading on frontend form,

#1176325

Shane
Supporter

Languages: English (English )

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

Hello,

Thank you for contacting our support forum.

The Custom taxonomy can appear as a dropdown, however you wouldn't be able to have the users drop pin their address on the Map.

This is because it is required that the user enter their address in the address field for it to pin the marker on the map.

Thanks,
Shane

#1177053
credform.png

below is the form code:

[credform]
[cred_field field="form_messages" class="alert alert-warning"]
<div class="form-group">
<label>Featured Image</label>
[cred_field field="_featured_image" output="bootstrap"]
</div>
<div class="form-group">
<label>Product Title</label>
[cred_field field="post_title" class="form-control" output="bootstrap"]
</div>
<div class="form-group">
<label>Regular Price</label>[cred_field field='_regular_price' force_type='field' class='form-control' output='bootstrap']
</div>
<div class="form-group">
<label>Sale Price</label>
[cred_field field='_sale_price' force_type='field' class='form-control' output='bootstrap']
</div>

<div class="form-group">
<label>Product Excerpt</label>
[cred_field field="post_excerpt" class="form-control" output="bootstrap"]
</div>
<div class="form-group">
<label>Product categories</label>
[cred_field field="product_cat" force_type="taxonomy" output="bootstrap" display="select"]

</div>
<div class="form-group">
<label>Product tags</label>
[cred_field field="product_tag" force_type="taxonomy" output="bootstrap" class="form-control" display="select"]

</div>
<div class="form-group">
<label>City-District</label>
[cred_field field="city-district" force_type="taxonomy" output="bootstrap" class="form-control" display="select"]

</div>
<div class="form-group">

<div class="form-group">
<label>Address</label>
[cred_field field="address" force_type="field" class="form-control" output="bootstrap"]
</div>
[cred_field field="form_submit" output="bootstrap" value="Submit" class="btn btn-primary btn-lg"]
[/credform]

see the pic attached:
product categories are appearing as multi-select
city-district (custom taxonomy) as you can see in the pic i want them to appear in a dropdown and user cant add them
and product tags are not appearing in the box when i type a tag and click on add also the image is not being uploaded.
i have sent the credentials in a previous ticket. could you please check
url to add product is:
hidden link

#1177067

Shane
Supporter

Languages: English (English )

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

Hello,

I see where you mentioned sending the Credentials previously but I'm not seeing them.

I've enabled the private fields for you to send them once more.

Thanks,
Shane

#1177708

Shane
Supporter

Languages: English (English )

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

Hello,

So I managed to get the multiselect field to only be a select field so that should be fine now.

Also for the other taxonomy fields, since they are tags then it won't be possible to have a select field for those, only hierarchical taxonomies can have a select field

Thanks,
Shane

#1177801

in that cred form the product pic is also not uploading could you please check that

#1177807

Actually i want product categories to be multi-select but city-district to be single select only.
and please check pic upload issue.

#1177902

Shane
Supporter

Languages: English (English )

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

Hello,

Could you disable the AAM plugin and let me know if the item starts to upload? I can have a look at the other issue once you've confirm this.

Thanks,
Shane

#1179183

I have disabled the aam plugin image still not uploading.

#1179444

Shane
Supporter

Languages: English (English )

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

Hello,

If you were to disable all the non-toolset plugins does the same issue occur ?

Please let me know as I want to eliminate this one as a plugin conflict.

Thanks,
Shane

#1179755

It is because of autoptimize plugin, i have disabled that. Could you recommend any other alternative to autoptimie.
How to have categories as multiselect?

#1180070

Shane
Supporter

Languages: English (English )

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

Hello,

You can try this plugin below.
https://wordpress.org/plugins/wp-optimize/

Also I was able to resolve the issue with the category by using this css.
jQuery(".city select").removeAttr("multiple");

Thanks,
Shane

#1180949

category issue is resolved thanks but autoptimize and wp-optimize are two different plugins having different functions.
Autoptimize minify the html, css and javascript and wp-optimize is used for database optimization
could you resolve the issue with autoptimize?

#1181032

Shane
Supporter

Languages: English (English )

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

Hello,

This one below should perform an equivalent function.
https://wordpress.org/plugins/fast-velocity-minify/

Thanks,
Shane

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.