Custom Field not saving correctly
-
Hi,
I have set up a custom registration field (textarea) called ‘Address’. This seems to work fine when I edit it from the back-end, but I registered a new test account on the front-end and the data is serialized incorrectly.
Below is the serialized string:
s:46:”1 Test Street,
Test Town,
County,
AA11 1AA”;As you can see, the string is 42 characters in length, but the serialized length is stored as 46, which is causing the address to not display on my website. I’m guessing it’s something to do with the line breaks in the text area.
Can someone tell me why this is happening and how to fix it?
Thanks for any help
- The topic ‘Custom Field not saving correctly’ is closed to new replies.