Postponed
Project:
Mobile jQuery Theme
Version:
7.x-1.1-beta1
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
9 Feb 2012 at 17:29 UTC
Updated:
17 Apr 2012 at 23:01 UTC
I just stumbled over a problem regarding the forms api.
fields with a suffix or a prefixes look just wired:

i guess that jquery mobile don't respect this drupal standard. or does it?
maybe it should look like this:

any suggestions?
| Comment | File | Size | Author |
|---|---|---|---|
| suffixes_proposal.png | 10 KB | loominade | |
| suffixes.png | 9.95 KB | loominade |
Comments
Comment #1
jasonsavino commentedI will look into how this might work. It may end up needing to be aded to the module. For now, if you would like, check out the includes/form.inc file (line 411).
you could add this around line 430: $element['#attributes']['placeholder'] = $element['#field_prefix'];. You could also do the same for the field's title: $element['#attributes']['placeholder'] = $element['#title'];