This happened to me once with a form to get a moving quote. I put in my phone number but did not hit submit. The next day they started calling me and thankfully they stopped when I told them I'd report them for violating spam laws. Like you, I'm not sure if it's technically illegal, but it's definitely shady and just not cool.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This happened to me once with a form to get a moving quote. I put in my phone number but did not hit submit. The next day they started calling me and thankfully they stopped when I told them I'd report them for violating spam laws. Like you, I'm not sure if it's technically illegal, but it's definitely shady and just not cool.