klox7 VIP
Total posts: 914
16 Янв 2015 10:05

Hi,

just for concideration it would be nice if fields that are payable would have some icon next to them when in form and in Administrator-Types-Fields. Something like money icon with tooltip "This field is payable. please check subscriptions here.".

Regards

Последние изменения: 18 Янв 2015


pepperstreet VIP
Total posts: 3,837
16 Янв 2015 21:46

Hello, I think you can achieve something like this already... in different ways:

  • Build-in Field label and a suitable Label icon.
    Either set Show label in submit-form only. And/Or add your custom Label class for more flexibility and custom appearance. You might add a message in field's description parameter.

  • Build-in Field Class. If label and icon is already in use... you might also try additional custom CSS class for the whole field i.e. "payable". Then in submission form context you might change your style for all fields with that particular CSS class.

  • Field's Emerald tab and restrict parameters.
    Use parameter Message if no access for text hint. Override default message with J! language override, or create your own NEW_CONSTANT. As far as I know, you can add HTML/image-tag in your language constant.

  • Field's common Access parameter (if you deal with ACL only).
    You might use parameter restriction message for text constant + image as mentioned earlier.


klox7 VIP
Total posts: 914
18 Янв 2015 12:54

Oh, this was supposed to be idea and not question. I changed it accordingly. But I like your solutions. I already did it but with field group description.

Работает на Cobalt