Questions tagged [select]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
36 views

select onChange changed to on-change after saving Joomla 4.1 form

I have been successfully using a homemade article including a form and some javascript for a while now on Joomla 3 which also uses the Regularlabs Sourcerer plugin. Turns out that I recently migrated ...
user avatar
  • 21
2 votes
2 answers
68 views

Custom multiselect field not working in J4

In my Joomla 3 component, i have a custom field that is a select list with multiple=true. The values of such an select list are binary handled like 1,2,4,8,16. When storing, the values are getting ...
user avatar
  • 101
2 votes
1 answer
132 views

custom form list field add disabled options - create optgroups

I have a working list based on an sql query. Now I would like to add some spacers (not selectable items). When doing this manually in xml you can add the disabled attr to that item, but how can I do ...
user avatar
  • 483
2 votes
2 answers
789 views

Remove options of the Select with jQuery, replace these with new ones is working but how to update "chzn search" div with jQuery?

It is on the details page (edit.php), when I change a value from another dropdown field, I want to change the options of another dropdown (later by AJAX). For now my test works if I look just to the ...
user avatar
0 votes
1 answer
28 views

Joomla DB where statement not works as expected

I don't understand the world right now. I try to make a simple query from the DB, but it fails with the message that the column is not known. I do not understand why Joomla! tries to see the value I ...
user avatar
  • 483
2 votes
1 answer
823 views

Update List field rendering after ajax update

for one of my extensions i need to update a select list by ajax. the whole ajax call is working and i got the new option vars for the select list. I add those options in the ajax's "success" function ...
user avatar
  • 483
1 vote
0 answers
512 views

Show select when checkbox is checked and validate select as required

I have added new fields in the configuration file for my form, like this: <?xml version="1.0" encoding="utf-8"?> <form> <fieldset> <field name="yes" type="checkbox" ...
user avatar
  • 111
1 vote
1 answer
374 views

How to select records one by one using JDatabaseQuery

In programming languages there are 2 patterns for selecting records from the database: //prepare SELECT statement while($record = $query->fetchRow()) { //do the job } And the second: //...
user avatar
  • 179
1 vote
2 answers
291 views

How to query a table column for values that start with a non-alphabetic character?

How can rows starting with non alphabetic characters (all "special" characters, including spaces and underscores) be selected? I don't know if it changes anything, but my_table will also contain ...
user avatar
  • 308
1 vote
2 answers
424 views

Select+Checkboxes fields = query a Database [closed]

I want to make a form which contains one select field (dates) and multiple checkbox fields (teams), so when I select a date or choose a team, automatically makes a query a database, filtering by the ...
user avatar
0 votes
1 answer
506 views

How to filter and reduce drop down select box

Using below code to display database values as drop down in rsjoomla $items = "|Please Select[c]\n"; $db = JFactory::getDBO(); $db->setQuery("SELECT id, prod_name FROM __used_products ORDER BY ...
user avatar
  • 375