Hi there!
I’m still pretty new to Wappler. Hopefully you can give me some help.
I designed a “sign up” form. It inserts a phone number in the DB just fine, unless someone used a dash (I can explain later why I might leave dashes in for now) .
Then, I realized that I accidentally made my DB field a “int” (or number) field instead of “text.”
I went into MySql and made the change.
I tried to load the form and enter some data, and still got the warning/error, “Please enter a valid number.”
Oh - I figured that Wappler probably stored that information somewhere.
I noticed that “records.php” is storing information about the table that is incorrect (the old “number” instead of “text”):
"table": "CustPhones", "column": "phone", **"type": "number",** "value": "{{$_POST.PhoneID}}"
So, I read in the forums that I needed to do a Database refresh.
Now I’ve done that a few different times. But, it’s still throwing the error, and I noticed that records.php doesn’t change.
Do I just need to change records.php manually? I thought Wappler would update it.
Last updated: