Creative Web Design & Development

MindPalette™ LLC is a creative web development company based in Indianapolis, IN. We are currently in a state of transition, and will be shifting most of our development focus to:

  • PHP Form Processing Scripts (new versions to replace NateMail and ProcessForm)
  • Joomla! Extensions (Components, Modules, Plug-ins & Templates)
  • WordPress Themes & Plugins
  • jQuery and JavaScript Plugins & Scripts

Though no longer actively developed, we will continue to offer free downloads of our GoLive Actions. The older Scripts and Tutorials are also still available, though future content and development will be in our new Development Blog.

Get Field Label Text in Joomla 2.5 JForm

I’m switching back and forth between projects in Joomla 3.X and Joomla 2.5… to get the field label text (not the HTML tags, just the text) from a JFormField object is simple enough in Joomla 3.X, since the class has a getAttribute() method, so:

$field = $form->getField('myfield');
$label = $field->getAttribute('label');

I could be mistaken, but didn’t see the same functionality in Joomla 2.5. The closest I’ve come up with is to get the full label, then strip out the HTML tags, like:

$field = $form->getField('myfield');
$label = strip_tags($field->__get('label'));

…which is ugly, but seems to work in the cases I’ve tested. Anyone know of a better way to access the element attributes directly in Joomla 2.5?

ProcessForm 3.0.18 Security Update

We’ve just posted a security patch update to the old/archived script ProcessForm. It is strongly recommended that any existing users update to the latest version. We’re working hard on a complete re-write of the script, but in the meantime, will continue releasing patch updates as issues are found.

New eCommerce Site:

We’re launching a new custom Joomla eCommerce site this week. I’m especially excited about this one, because it’s one of my own ventures, via Mock-Epic LLC. The first retail site is, which sells twisted pens (some of which we make here in-house). We hope to have a total of three retail sites online before this summer. Looking forward to it!