Templates

Templates

menashemenashe Posts: 196Questions: 43Answers: 2

I am aware that when showing an Editor form, I can use field.dependent hide to keep certain fields from displaying.

When using a template, since the fields are "hardcoded," this seems not to works.

Is there any reasonable way to collapse (not just hide) certain fields in a template?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,439Questions: 1Answers: 10,459 Site admin
    Answer ✓

    I'm really surprised that hiding a field doesn't work in a template. Are you able to give me a link to a page showing the issue please?

    Allan

  • menashemenashe Posts: 196Questions: 43Answers: 2

    Hi Allan,

    Yep, that's the crazy thing about coding--when you do it correctly, if often works!

    I didn't have quotes around the hide and show, and I was comparing val to a numeric!

  • allanallan Posts: 63,439Questions: 1Answers: 10,459 Site admin

    :). No problem. Good to hear you got it working!

    Allan

Sign In or Register to comment.