Calculate Field Not Saving Correctly to DB
-
Hi there.
First, great plugin! Thanks for all of your hard work!
Next, I am having a bit of difficulty saving a calculated field to the wp_usermeta table of my database. I’ll try to keep my explanation basic and clear.
Calculated field: this is calculating and displaying correctly on the front end. It is a combo of a sub string of two fields (first three letters of last name, last 4 digits of phone) as well as the purchase date (date field on form). Ex: 07242017abc1234
However when I try to assign this value as user meta I am only getting the date portion, ex: ‘07242017’
Upon further investigation I found that if I used another calculate field to try to display the value from the first calculated field that second field would only display the date portion as well.
I have tried every possible thing I can think of, hoping someone here can shed some light on what I am doing wrong and how I can properly save the full value of the calculate field to the database.
Thanks in advance for your help!
Sara
- The topic ‘Calculate Field Not Saving Correctly to DB’ is closed to new replies.