alicolville / meal-tracker

Extend your site by allowing your users to track their meals and calorie intake. Calorie targets for the day can be set by admins, the users or automatically pulled from Yeken's Weight Tracker
https://mealtracker.yeken.uk/
1 stars 0 forks source link

Custom Field Table Issue #133

Open mybestrong opened 2 years ago

mybestrong commented 2 years ago

Hi Ali,

I have a custom fields form and table at https://mybestrong.com/goal-tracker/

I've made a number of form entries but nothing is displaying in the table.

[wt-custom-fields-form custom-field-groups='goal-setting' hide-titles='true' force-todays-date='false']

[wt-custom-fields-table custom-field-groups='goal-setting' enable-add-edit=true custom-field-restrict-rows='any']

mybestrong commented 2 years ago

When using longer questions in the fields the table also loses its formatting

alicolville commented 2 years ago

Can you confirm the data is saving the admin panel against the user record?

Could you also try the form shortcode on a blank page (without the expanding box etc) around it :)

mybestrong commented 2 years ago

Ali - intermittent!

https://mybestrong.com/wp-admin/admin.php?page=ws-ls-data-home&mode=user&user-id=1

Yesterday's record saved ok and displays in table

Today's record only saved 2 short text fields but still didn't display in the table

Ive moved this one without the additional styling etc to the test page at

https://mybestrong.com/rick-test/

mybestrong commented 2 years ago

I think I've found the issue. It's related to the text length on the large text field. I was using 2 x paras of dummy lorem ipsum to test, none of those are being retained.

The shorter characters in those fields work ok.