Id of category tracker field has got an extra [] after the ins_123
- Status
- Open
- Subject
- Id of category tracker field has got an extra [] after the ins_123
- Version
- 15.x
- Category
- Usability
- Feature
- Category
Trackers - Resolution status
- New
- Submitted by
- Fernando Torres
- Lastmod by
- Fernando Torres
- Rating
- Description
Was doing some tests with JQuery, and found out that any category field will have an extra pair of brackets after the FieldId → ins_341[]
Run into some trouble to use it.
The other tracker fields will just end up in the number. This might be a problem to somepeople, speccialy by using plugins that will target it, like trackertoggle.Tried to look in the plugin php to see where this is generated but coudn`t find it.
Below is the complete code for field 15 (category field) I used in a test tracker
Copy to clipboard<select name="ins_15[]" class="form-control" aria-invalid="false"> <option value=""></option> <option value="1">A</option> <option value="2">B</option> </select>
Thanks- Importance
- 4
- Easy to solve?
- 6
- Priority
- 24
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 5983
- Created
- Saturday 11 June, 2016 04:38:16 UTC
by Fernando Torres - LastModif
- Saturday 11 June, 2016 04:38:16 UTC