cyberholic
Member
At the moment i am working on my own cusstom form.
For this i followed the tutorial in here on how to add individual elements within said form.
My code looks like this:
Problem:
The label of the first element is shown correctly.
The label of the second element ignores the css-styles and the Chrome-console shows me this:
There are two Double Quotes and a lot of whitespace.
Recreation of what might be a reason for this error:
- I created an input field element for my form
- I saved and checked it: everything was fine
- I went to my Joomla backend and changed this field from input to dropdown
- I saved this element
Since then the element ignores the css set up for labels.
Greetings and thanks for your time!
For this i followed the tutorial in here on how to add individual elements within said form.
My code looks like this:
PHP:
$this->element =& $this->groups['User Settings']->elements['activationtime'];
//echo $this->loadTemplate('element');
echo $this->element->label;
echo $this->element->element;
echo "<hr>"
$this->element =& $this->groups['User Settings']->elements['activationtime'];
//echo $this->loadTemplate('element');
echo $this->element->label;
echo $this->element->element;
Problem:
The label of the first element is shown correctly.
The label of the second element ignores the css-styles and the Chrome-console shows me this:
HTML:
"
Activation time
"
Recreation of what might be a reason for this error:
- I created an input field element for my form
- I saved and checked it: everything was fine
- I went to my Joomla backend and changed this field from input to dropdown
- I saved this element
Since then the element ignores the css set up for labels.
Greetings and thanks for your time!