I
I
Ivan13312020-10-12 17:02:50
PHP
Ivan1331, 2020-10-12 17:02:50

Intercept variable changes?

There is a task - now when a user has registered and did not specify a first and last name, then the Default Name is assigned to him, I need to implement that when the user makes a purchase (where he enters his data), the first and last names are transferred to him in the profile. The form is made through Vookumers. Example in the picture:5f846235ce348801455134.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nadim Zakirov, 2020-10-12
@zkrvndm

When making a purchase, parse the first and last name with JavaScript and store them in localStorage.
Further, if the user suddenly wants to register, pull out the information from memory and substitute it in the form.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question