flag true/false depending on two field value
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2024 08:25 AM
Hello, I dont' kow if I write in correct location but I will try:
I need some help for this:
When the user field changes, we will check whether the customer has visited the store at least once during the previous week and made a purchase; in this case, we will set the flag to true.
I created the form and the field names are the following:
user field: (user)
entry date ( entry_date )
flag: (already_customer)
if the user it's alredy present with a date oldest than 7 days, the field ( already_customer ) will change to true.
How I can do it with a onChange client script?
0 REPLIES 0