Hello. I give the task:

“Create two forms: the first one with the tram fields“ Last name ”,“ First name ”and“ Middle name ”and the button, and the second one with one field“ Full name ”and the button. vice versa. At the same time, the form fields should be filled in automatically: if data were entered in the first form, they should be in the second form, and vice versa. "

Did it. So what is next:

"Complicated task: to make the switch between the two forms in both directions work also when you press Ctrl + Enter."

This is what I have failed. How to do - I do not know.

  • when you press <Ctrl + Enter>. - Andes
  • fx? the second script to do, no? - GenCloud
  • @GenCloud, I can’t make switching between forms when the user presses Ctrl + Enter. That is, earlier, in order to switch between them, the user pressed the button (on each of them there is a text input field and a button), and it is necessary that he now press Ctrl + Enter, and one window replaces the other. - Andes

0