Skip Navigation

[Closed] Cred-Form generate new a double double-brackets for a Taxonomy-Checkbox Array

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.

This topic contains 3 replies, has 2 voices.

Last updated by Tia 4 years, 10 months ago.

Assigned support staff: Tia.

Author
Posts
#457314

Hi together

I have some Jquery functions to validate some variables

$("input:checkbox[name='angebot[]']").click(function()

My reference are the name of the checkboxes ( angebot[] )
The last Cred-Update produced now this HTML entry

<input id="cred_form_XXX" class="wpt-form-checkbox form-checkbox" name="angebot[[]]" data-wpt-type="checkbox" data-wpt-id="cred_form_XXX" data-wpt-name="angebot[[]]" value="95" data-parent="-1" data-value="Anstellung" type="checkbox">

As you wil see, ALL the name from all Taxanomy checkboxes are now "angebot[[]]"

Is this something i can solve ?

Many thanks for your help

______________________________________________________________

Another thing, any news about the date with time problem ?

CRED forms do not display time in date/time fields
https://toolset.com/errata/cred-forms-not-display-time-datetime-fields/

The fix wil show the time, but when i select a time, i receive some error when i save the form ...

#457388

Tia

Thank you for contacting Toolset Support. I am happy to help you with this. I am currently working on this ticket and will respond shortly with feedback.

#457525

Tia

I am currently running tests on my end and will get back with you as soon as possible.

#458146

Tia
regen.jpg
single-brackets.jpg

I was unable to duplicate the issue. Here are my steps:

1. Create a new CRED form

2. Auto generate form to insert fields

4. Create a new page to host the CRED form. Pages > Add New > Test CRED

5. Insert CRED shortcode and view on frontend

For category I get the following with only (1) bracket (trimmed down):

<input type="checkbox" id="cred_form_192_1-checkbox-3-1479412616"  data-wpt-name="category[]" >

I tried again with a custom taxonomy which I called "Double Bracket Test". I added it as Hierarchical. I only got one bracket with that as well (see screenshot).

------------------------------------------

I suggest the following:

------------------------------------------

Minimal Install

A. Update all Toolset related plugins & WordPress core.

B. Minimal Set Up:
1. All plugins except Toolset related disabled
2. Temporarily change the theme to a default WordPress theme (TwentySixteen)

C. If the issue is gone after Minimal Set Up steps above, activate each plugin one by one to find out which plugin is causing the issue.

Does the issue still persist when you do each step above?

------------------------------------------

Regenerate the Form

1. Go to Toolset > Post Forms > (form name).

2. Delete the data in the content box (save a backup file with the code somewhere if there are customization there).

3. Click Auto-Generate Form (see screenshot)

------------------------------------------

Please confirm your steps

Take a look at my steps above and make sure it matches your steps. If not, please let me know where they differ.

------------------------------------------

Please let me know your results.

The topic ‘[Closed] Cred-Form generate new a double double-brackets for a Taxonomy-Checkbox Array’ is closed to new replies.