Hi!
It seems like this behavior is due to the fact that the elements in your Lightbox are connected to a Dataset (Data binding) while there’s also code that calls them.
When you call an element with both ways at the same time the results may be unexpected.
Since you’ve set the Dataset to submit the data once the #loginNow is clicked and once again through the code with the “.onClick” event the data would be submitted twice
(in the occasions it succeeds to submit at all).
My advise is to choose one method and stick with it.
Note that this is relevant only to the elements that are being used both with code and Data-binding.
You can have a Dataset in a page that uses code - as long as its not on the same components.
Hope it’ll work out for you.
Please let me know if it doesn’t.
Doron.