Questions tagged [select]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
49 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 ...
2
votes
2answers
577 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 ...
0
votes
1answer
24 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 ...
2
votes
1answer
665 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 ...
1
vote
2answers
281 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 ...
1
vote
0answers
487 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" ...
1
vote
1answer
323 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: //...
1
vote
2answers
410 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 ...
0
votes
1answer
464 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 ...