You are viewing limited content. For full access, please sign in.

Question

Question

LF Cloud disable rule

asked on April 28

Hi,

Is there a way to use the disable rule where it only works after certain amount of characters are inputted? 

I currently have it like this:

When any of the following is true -> variable -> is not blank 

When I type one character, it automatically disables itself. 


I'm working with a collection and I've also tried Display Options: Previous data or new lookup data will be read-only, but user-added sets will be editable.

What ends up happening is that the same field in the other rows become read-only after one submission. 

I'm using the collection to store each week's actions from users.

The disable rule within the collection's variable impacts only the row where there is input. Row 2, 3, 4, 5 are untouched. So, the disable rule is the most promising. It may not be possible to do what I'm asking but felt compelled to ask.

 

0 0

Answer

SELECTED ANSWER
replied on April 28

Okay, right after I posted this I realized it could be achieved with a formula. Whoops!

If you add a hidden field with the following formula, you can then use it's output value for your field rule:

=IF(LEN(Field1)>3,TRUE,FALSE)

Change 3 to the number of characters you want your field to disable at, and Field1 to your variable name.

Then your field rule should be something like this:

Let me know if you have any questions and I can try to explain a little better.

5 0

Replies

replied on April 28

Are you able to explain your process a bit more? Unfortunately I don't believe there's a way to disable/enable based on the number of characters, as there isn't a "is greater than/less than" option, so =LEN() wouldn't help.

Why are you wanting to disable a field that is in use? If I can understand a bit better what you're aiming for, I can try to help.

Otherwise, the easiest way off the top of my head would be to add a checkbox that enables a row when checked so it can be edited, if something like that would work for you?

0 0
SELECTED ANSWER
replied on April 28

Okay, right after I posted this I realized it could be achieved with a formula. Whoops!

If you add a hidden field with the following formula, you can then use it's output value for your field rule:

=IF(LEN(Field1)>3,TRUE,FALSE)

Change 3 to the number of characters you want your field to disable at, and Field1 to your variable name.

Then your field rule should be something like this:

Let me know if you have any questions and I can try to explain a little better.

5 0
replied on April 29

Thank you! This works! 

1 0
replied on April 29

Perfect! Happy to help :)

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.