Tell us what you are trying to do?
User website where user can add book/review book and get points upon review
Is there any documentation that you are following?
Is there a similar example that we can see?
in add book form, I've added a radio to select value to get deducted upon review of the book from Author accoint
What is the link to your site?hidden link
Hello. Thank you for contacting the Toolset support.
With the information you shared its not clear what exactly you want to achieve and what you have for now.
Can you please share brief information about your current setup as well as share at what action you want to perform what calculations and what is your end result.
You may share few screenshots with problem URL and all other required information that should help me to understand the issue and once I review that I will be able to guide you in the right direction.
Can I know how it saves relationships between post types. Like I have created 2 post types books and reviews and I have created a relation between them where books is the parent. I want to call the value of one of the field of book. But how it saves relationships value in the database?
I have created 2 post types : Books and reviews and created forms for each. I have created 1 to many relationship for books and reviews where books is the parent and added that review form in book template. In reviews form, I've added that relation to retrieve the perticular book id. Now in review form, I want to retrieve the custom field value from database from parent post 'book'. How can I get the metakey of that? below I tried calling the metakey as 'related_book_id', but it didn't work. How can I retrieve custom field value of related post?
To get the related parent post - you will have to use the types shortcode:
Lets say - You have "Book" and "Reviews" one-to-many post relationship with post-relationship slug "book-review". you have "number-of-pages" custom field available with your parent post type "Book". To get the parent post custom field value of "number-of-pages".