playMaker

Author Topic: uGui Input Field onSubmit event problem  (Read 1198 times)

mrfixer88

  • Playmaker Newbie
  • *
  • Posts: 2
uGui Input Field onSubmit event problem
« on: January 06, 2018, 01:22:14 PM »
So I am attempting a database of sorts where I scan a serial number, save it, and query it at will. I'm coming along quite well using playmaker and easysave 2, but I'm having an issue with the playmaker action uGui Input Field onSubmit event. Every time I lose focus of the input field, it triggers the FSM. I tried to create a workaround where I used the inFocus action to create a bool for whether the input field was infocus or not, but it constantly stays false or gives a loop error.

Shitty thing is, I was successful in remedying my situation at my PC at home, but I forgot what I did. I feel as if for some reason the Mac i use at my job gives me issues my home PC doesnt.

Anyways, if someone could shed some light on what i'm doing wrong, I'd greatly appreciate it.

mrfixer88

  • Playmaker Newbie
  • *
  • Posts: 2
Re: uGui Input Field onSubmit event problem
« Reply #1 on: January 06, 2018, 01:45:48 PM »
Edit: Nevermind, figured it out via Jeans answer here...

http://hutonggames.com/playmakerforum/index.php?topic=14895.msg68998#msg68998

Ended up catching if the return key was pressed and doing a bool test with the stored result. Worked great. Thank you jean for inadvertently answering my question, haha.