Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [jform]

Form Class for the Joomla Platform.

Filter by
Sorted by
Tagged with
5
votes
1answer
2k views

Server-side validation rule is not being found

I've added a custom field to com_content, and everything has been working wonderfully. I'm now trying to add some server side validation, and after following all the tutorials and examples I've been ...
5
votes
4answers
5k views

How to work with field type Checkboxes (not checkbox)

My component needs to save mulitple options, and I can't seem to get my head wrapped around how to do it. Referring to Checkboxes form field type, I'm not sure how Joomla is expecting to save the ...
3
votes
3answers
3k views

Filtering list of Users in User form field type

I've been unable to determine if/how the list of users can be filtered. The example below from User form field type, shows the filter in use, but I've been unable to come up with how to specify the ...
0
votes
1answer
495 views

Multiple task with one

I am looking for a way to build multiple task with 1 layout/view for example: administrator/index.php?option=com_component&task=form.one administrator/index.php?option=com_component&task=...
4
votes
3answers
937 views

How to save data from 2 fields as a JSON string to 1 database table field?

I need help to store data in json format in my DB like {name:'1', name2:'2'}. So far I have this: model/form/category.xml: <fieldset> <field name="name" type="text" ...
3
votes
1answer
2k views

How to get the form of component from module?

I tried to get a component form from my module. I got the model and then tried to get the form, but the result was empty. I tried to define 'JPATH_COMPONENT' and it was useless. define('...
3
votes
4answers
865 views

How to retrieve unique values before a parenthesis in JFormFieldList Filter query?

I have a JHtml custom filter populated by a JFormField extended class. It is added in the view with the following code: JHtmlSidebar::addFilter( '- Select Height -', 'filter_height', ...
1
vote
1answer
353 views

Adding all form parameters in a custom item of the component

I prepared a component and i have to add different categories and custom items with lots of fields in my component.But What i want is to display all the joomla's fields for adding a new item in my new ...
4
votes
3answers
946 views

checkboxes field type in module settings not checked by default

I want to add following form field in module settings like - <field name="fb_posttype" type="checkboxes" label="Post types"> <option value="status" >Statuses</option> ...