Turning elements on/off from select value

  • Trevor Smith
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 5 months ago #90470 by Trevor Smith
Turning elements on/off from select value was created by Trevor Smith
Some questions please. . .

The documentation states:

- Select list (single and multiple)
turn on element mytext if myselectlist is somevalue
turn on element mytext if myselectlist is #somevalue|someothervalue
turn on element mytext if mycheckboxgroup is #somevalue;someothervalue


Q1. Could you explain what #somevalue|someothervalue and #somevalue;someothervalue does please?

Q2.Also I am trying to turn an element on if the value of a select is between 128 and 136. I have tried:
Code:
turn on element fieldgroup if round is !(12[89]|13[0-6])
but it doesn't work, any ideas please?

Q3.If it did work how would I turn the field off if the value was outside of the range?

Thanks
Trevor

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

More
8 years 5 months ago #90477 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Turning elements on/off from select value
What documentation you are talking about? It is not something from Membership Pro documentation, I believe

Tuan

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

  • Trevor Smith
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 5 months ago #90485 by Trevor Smith
Replied by Trevor Smith on topic Turning elements on/off from select value
Hi Tuan

This is the document:
crosstec.org/en/support/online-documenta...nditionally.html#fes

regards
Trevor

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

More
8 years 5 months ago #90490 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Turning elements on/off from select value
But that documentation is not for Membership Pro, it is documentation for a different extension

Membership Pro has this feature membershipprodoc.joomservices.com/basic-...tional-custom-fields , not sure if it can be used for your requirement

Tuan

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

  • Trevor Smith
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 5 months ago #90491 by Trevor Smith
Replied by Trevor Smith on topic Turning elements on/off from select value
Many apologies Tuan, I was working on two projects late at night (embarrassed)

Best regards
Trevor

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