Help with state changing?

So I’m trying to change a value based on current user.
Screenshot_1

When page is loaded the user’s “File State” is set to 0.

When I click a button and the file uploader is not empty:
I change the “File State” to 1.

When I click a button and the file uploader is empty:
I change the “File State” to -1.

My issue is that everything works except for when the user clicks the button and it is empty. I have a group that I change the color of to test this and it doesn’t change at all. It does however change when the user clicks submit and the file uploader is not empty. Any reason for this?

Hi,

Hi, what is the purpose of this field ?

Maybe you can set the condition “FileUploader Click to upload’s value is empy” or “not empy”, inside the workflow, instead set them on the workflow’s steps.

If you click the button submit, I think that it will trigger both workflows causing this issue.

Tell me if it works,

Regards,

Juan

1 Like

that fixed it!

Great !

This topic was automatically closed after 70 days. New replies are no longer allowed.