Questions tagged [jform]

71 questions
2
votes
1 answer

How to change Joomla Form values?

I am new to joomla. I have been facing a problem that I want to change Joomla Form values for example when a user enters anything into form fields I want to enter my own values with user input. ie if user enters in text field name and User enters…
Zain Farooq
  • 2,956
  • 3
  • 20
  • 42
2
votes
0 answers

Getting Form Data in edit-view with JTable which is joined?

i'm stuck with a problem of joined tables and retrieving Form-Data how it "should be" in best-practise-terms of Joomla! I'm following the Joomla!-standards as far as my knownledge reaches, and the goal is to write this component "as if" it was…
bquarta
  • 559
  • 6
  • 19
2
votes
0 answers

Joomla 3.4: JFormRule custom class validation

I want to add a custom form validation in Joomla 3.4.8. (similar to this question and this question). I'm simply trying to invalidate a field server-side at the site (not the backend). I'm…
thuis
  • 21
  • 3
2
votes
1 answer

how to create dynamic name tags for input fields with jform in a joomla component

I searched the internet for a while now, but can't find any hints on how to do this. I wrote my own component in joomla 2.5 and it works fine so far. Part of the component is a form in the backend. The fields are a bit more complicated, but to keep…
jost21
  • 1,084
  • 3
  • 15
  • 29
2
votes
1 answer

Can't save filenames into the database with JInput

I have a form with input fields of type text and file. I have a problem of the filenames not saving in the database but everything else does. I vardumped $myForm and everything is there but the files, so I created another array with the filenames…
Moo33
  • 1,251
  • 3
  • 15
  • 27
2
votes
3 answers

Is there any way to Close the JFrame without exiting the whole application using Cancel jButton?

is there any way to close the frame using Cancel button without exiting the whole application. I tried Following setDefaultCloseOperation(javax.swing.WindowConstants.HIDE_ON_CLOSE); above line works only in case when i press X close button to…
user1809580
  • 35
  • 1
  • 2
  • 5
1
vote
2 answers

how to show data from database to JTable of Java Swing Controls

I have this problem on how to show data from my database using JTable of Java Swing Controls. I just drag and drop the table from the palette in the JForm. I have no Idea how to code it.
iamanapprentice
  • 411
  • 5
  • 19
  • 37
1
vote
1 answer

Add new fields with press of a button

I´m creating a program in NetBeans where the user can create their own CSV-file. I've made a GUI. When I press the button, I want a new JLabel and a new JTextField to appear underneath the existing ones, for as many times as the button is pressed.…
1
vote
1 answer

There is no output in my GroceryList program

I rewrote my first application after getting the advice not to use static as much as I did and I misused inherentance. But now my application is not working anymore. And I can't figure out why not. I think I instanciate the wrong things but can't…
coos wolff
  • 51
  • 8
1
vote
1 answer

How do I get user input on a jForm?

I can use numbers and stuff like num1 = Float.parseFloat(txt1.getText()); but I am looking to get words from a text field, then do calculations based on which word. Like: String input1; if (input1.equalsIgnorecase("Word")) { 2 + 2; } I just don't…
The Chair
  • 21
  • 3
1
vote
0 answers

Joomla 3.4 text form field custom validation not working

I'm try to add my server-side validation for text form field in Joomla 3.4. When I submit form with any empty field message that field is empty appear, but when it not empty submit is working and ignoring email and my own validation. Also email…
CodeBy
  • 714
  • 4
  • 10
  • 25
1
vote
0 answers

Joomla 3 Flexicontent form custom plugin

After hours of googling and experimenting, I gave up :( I need to add form to my articles in Joomla 3, that collects data from article's additional fields and emails them. Articles are managed by Flexicontent. Flexicontent overrides standard content…
alekwisnia
  • 2,314
  • 3
  • 24
  • 39
1
vote
1 answer

show login form in a page in joomla 1.5 programmatically

Though depreciated. still, I want to achieve this functionality and please don't advise me to upgrade to newer version of Joomla. I have tried to write this piece of code in required place in /tmp/default.php file of a particular component. Please…
JayKandari
  • 1,228
  • 4
  • 16
  • 33
1
vote
1 answer

Where to find documentation for form field types?

I'm getting frustrated with my own inability to find a source of information regarding what options / attributes are to be used when defining the XML file for a form in a component. The file I'm talking about might be located in…
Sloan Thrasher
  • 4,953
  • 3
  • 22
  • 40
1
vote
1 answer

creating a simple settings form in joomla 2.5 with JForm

I am newbie to joomla! component programming. i am creating a MVC component that users can reserve some dates. my component should have a simple settings view that admin can manage the component. i used some references but i have problem to create…
1
2 3 4 5