[Closed] Cred Form Does Not Save Value Into Database
This support ticket is created 7 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
If you don't mind help sharing how you did because I try to follow your steps and I couldn't get average ratings and total review saved.
Yes I have my Restaurants (slug --> restaurants) which is parent of Reviews (slug --> review).
On the reviews CPT I have post fields review title, review comment, and set of radios for ratings (field slug = overall-ratings ).
On the restaurants CPT I have two fields called Ratings Average --> slug = ratings-average and Reviews Total --> slug = reviews-total
I have attached screenshots for detail.
I want to use your codes to calculate averaging overall ratings from radios fields and save it to 'wpcf-overall-ratings field which belong to Restaurants so later can query and display on front-end without calculate it on the fly like other method. I also have 'wpcf-reviews-total' field which also belong to Restaurants.
I would very much thank you for your help to get this to work. I'm not sure what I did wrong that didn't work like your. 🙂
Thank you this form it is now working, however, it stops working again when insert it directly into page. Please see screenshot for better understanding.
Can you please help and why it stops working when insert into the page.