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.