Forum Discussion

vijeyvijey's avatar
vijeyvijey
Community Member
11 months ago

Resetting the wrongly drag drop object

I am trying to achieve a drag drop with 2 rectangles. object 1 and 3 are correct. object 2 and 4 are wrong which will go into rectangle 2.

when i place it correctly it is working correctly. When i try to place the object 1 and 3 in rectangle 2 its not working, same case for object 2 and 4 with rectangle 1.

Also i am unable to manage the states.

I am attaching the files for your reference.

 

  • Hi vijey,

    You don't need a submit button when you set the state changes immediately after dropping(changing state is actually a feedback for users). So yes, you should disable the submit button (you can uncheck it in the slide properties).  And you can always add a custom button to open a layer if you like.