Forum for discussing general topics related to Couch.
2 posts Page 1 of 1
Hello Couches!

I have cloning template that has a tag folders.
When selecting a folder A I want show only editable regions for folder A and so on (this is only an idea)
I use dynamic hiding group regions:
Code: Select all
<cms:editable name='group_dynamic_hide' type='message' dynamic='default_data'>
group1.html
</cms:editable>


But there are two problems:
1 - showing / hiding it until after you press the button Save, and should be done at the time of selecting the folder
2 - In reality, all regions persist. It turns out that each cloned page will have all regions and if one of them is set to required='1' will produce an error. Version is nowhere to no required='1'

Pray for a solution :D

Regards
Show-hide works with custom css/js for dropdown editable.
Required value must be removed and replaced by something else (a message to user?).
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
2 posts Page 1 of 1