I have a relational form (one to many) clients and client notes. When I submit the client notes form on the front end, it's not submitting. No errors, seems to go through but doesn't appear. It works OK on back end.
I've worked out that when I submit from the WP dashboard, the 'notes' form is associated with the client, as it should be. However when I submit the note from the front end 'client details' page, it isn't associated.
So my question is, how to I get the front end 'notes' form to associate in the same way as the dashboard?
Hello. Thank you for contacting the Toolset support.
I will require to review your post-relationship as well as where exactly you have added the form.
Can you please share problem URL as well as access details, once I review the things, I will be able to guide you in the right direction.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
When visit the form your created:
=> hidden link
- I found that you did not added the parent field to the form. I've added the parent field to your form as given under:
<div class="form-group hidethis">
<label>Clients Notes</label>
[cred_field field='@client-note.parent' class='form-control' output='bootstrap' select_text='--- not set ---' required='false' value='[wpv-post-id]']
</div>
And to hide the parent field - I've added the following CSS to your form's CSS box:
.hidethis {
display:none;
}
I see now when you create a new note, it is automatically attached to parent. Can you please confirm it works at your end as well.
Thank you - that works! One last question - I want to display the author & date of each note. I can only get it to display the last author/last post date for the last note. How can I get it to show for each note?