• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Hide label if empty, instead use placeholders

Hide label if empty, instead use placeholders 6 years 6 months ago #38560

  • joris3
  • joris3's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
Hi there,

I had an issue with hiding the label of Rsform.
If i leave it empty the label is still there and takes up space.
So space you maybe do not want in your form (like i do).
I did not want my customer to mind this and it should be automatically.
I want auto generate enabled of the form because my customer would get frustrated if a field is not added when he did :-D


Solution:
add css to your template.
label:empty {display:none;}

After that a required setting of the field will show the label again, with a symbol for strong.
So you need to set per form that required symbol is empty.
Default it is a * and you just delete it and save it.

Tip: You can add the * in your placeholder to show it is required.

Hope this helps people :-)
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!