Keyword

How to hide some fields in frontend?

  • theant
  • theant's Avatar Topic Author
  • Offline
  • Premium Member
More
10 years 7 months ago - 10 years 7 months ago #131967 by theant
How to hide some fields in frontend? was created by theant
Hello
I wish to know if it possible to hide some extra fields in frontend leaving them active.
I creted a form where user can add their data, I want that some of them will be visible only for administrators.
How to?
thanks

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 7 months ago #131968 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: How to hide some fields in frontend?
Hello I think you should use css for this.
Since there is not access level per extrafield you can use a jQuery script to remove them from the DOM.
Do not set them as required because the form will never be able to submit.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum