There can be cases when it's not allowed for members to change some critical data in their profile, so some input fields most be disabled. How is possible this in Couch, since simple using "disabled" it's not working?
Thanks.
Thanks.
I didn't considered this as an option, but I could use it, as the important thing is to prohibit members from editing some data. Thanks for your suggestion KK.KK wrote: Do you see any problems with this approach?
KK wrote: I think the most straightforward way in such cases would be to *not* offer the field as cms:input (type='bound') at all. Instead just show the values contained within the field as usual (e.g. <cms:show field_name />).
Do you see any problems with this approach?
<cms:editable label='Page hits' name='page_hits' type='text' search_type='integer' />
<cms:editable name='my_css' type='message'>
<style type="text/css">
#k_element_page_hits { display:none; }
</style>
</cms:editable>
<cms:editable label='Page hits' name='page_hits' type='text' search_type='integer' />