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"):
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.
Open the Action and click on the āDatabase Connectionā with the issue and click the button āConnection Optionsā. Click āSaveā so it refreshes the schema and uploads the new file. Then click on the same āDatabase Connectionā and a confirmation message will be shown informing you that the āLinked Action Fileā is not savedā. Click āYesā to save it first. Then try your page again and see if everything works fineā¦
Thanks!
But, hmmm - Doesnāt seem to work for me.
I attached an image, to see if Iām doing it right.
I click on the action step where the āDatabase insertā is locatedā¦
Then click on āDatabase Connectionā then āConnection Optionsā (below) and then SAVE.
Then I reclick on The DB connection⦠and save it.
I did that, and it said it saved the file⦠but nothing changed
SEE THE PICTURE:
I donāt know what happened. I went ahead and closed Wappler. Deleted some of the input actions. Restarted my computer, closed all open files⦠and now it seems to be working.