Jump to content

How to protect a Custom Client Field?


Remitur

Recommended Posts

Client Fields may be protected, in order to allow the client to insert them when registering, but further only see them in client area, without any way to modify them.

But this seems not to be possible for Custom Client Fields: 

  • if you select "admin only", the user doesn't see them, nor can insert them at registering
  • otherwise, the use can insert them at registering, but is always free to freely modify them 

I would like to set up a custom field which:

  • the user may specify when registering
  • he can see in client area
  • but he can't modify it

Is it anyway possible?

Link to comment
Share on other sites

you could edit the template and make specific, or all, custom client fields read only...

you could also do it as a hook (ClientAreaPageProfile) by looping through the $customfields array and making the same change - though using PHP rather than Smarty, e.g str_replace.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated