Hi,
I have two questions regarding toolset view.
First, I want to use search in the view based on the parent post field. I tried to add the field but the search is not working.
Second, I want to add grand parent field in a view. When adding the field it will not show any value.
Hi,
Thank you for waiting.
After troubleshooting, I managed to make the form pick the passed on "Department" field value using the following changes:
1. In the form "EnglnvRequest Form", I update the "Department" field's code from:
[cred_field field='enginvrequests-dep'force_type='field' class='form-control' urlparam="enginvitem-department" output='bootstrap']
To:
[cred_field field='enginvrequests-dep' post='enginvrequest' value='' urlparam='enginvitem-department']
2. In the content template "EngInvItem", I added the following link, that leads to the form's page while keeping the department value in the URL:
<a href="[wpv-post-url id='51266']&parent_enginvitems_id=[wpv-post-id]&enginvitem-department=[types field='enginvitem-department'][/types]" target="_self">Reserve</a>
As a result, if you'll use the second "Reserve" link on the page "/?enginvitems=test-location-cs", you'll see that the department field value will be populated correctly.
regards,
Waqar
My issue is resolved now. Thank you!