I have a field [Value] in my submission datapage which will contain either "Yes" of "No". If [Value] = "Yes" then I want another field [Count] to be read only. If [Value] = "No" then I want the [Count] field to be editable.
I found this code which works perfectly but I need it to handle both conditions
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
RonAnderson
Hi,
I have a field [Value] in my submission datapage which will contain either "Yes" of "No". If [Value] = "Yes" then I want another field [Count] to be read only. If [Value] = "No" then I want the [Count] field to be editable.
I found this code which works perfectly but I need it to handle both conditions
<style>
input[name*="Count"]
{
pointer-events: none !important;
}
</style>
I'm a total novice with CSS syntax so I'd be grateful for any help with this.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.