Home › Toolset Professional Support › [Resolved] Cred in a modal
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.
Tagged: How to build a site with Toolset, Views, Views plugin, WooCommerce
This topic contains 2 replies, has 2 voices.
Last updated by Puntorosso 2 months, 1 week ago.
Assigned support staff: Waqar.
Probably a wrong approach, but couldn't find a better solution:
- I have a view creating a list of Woocommerce orders.
- On every list item there is a button, which open a modal window and pass the order id value.
On the modal window I can use
<input type="text" name="orderId" id="orderId" value="" />
to display the order id.
I need to insert in the modal a Cred form, to edit some order's parameters.
How can I use the previous "orderId" value to edit the proper order?
[cred_form form='local-payment' post='orderId']
but it doesn't work.
Any help is really appreciated.
English (English )
Thank you for contacting us and I'd be happy to assist.
I'm afraid, I'm not exactly sure how you're able to get the value of the current order in the view using 'orderId'.
Can you please share temporary admin login details along with the link to the page with this view?
I'll be in a better position to suggest some workaround, accordingly.
Note: Your next reply will be private and please make a complete backup copy, before sharing the access details.
We took another approach and simply open a new page, instead of the modal window.
Known issues and solutions
Frequently asked support questions
Support tickets archive
Get help from experienced contractors
Meet Toolset support team
Toolset Customer Support Policy
Need to tell us something about the quality of support
How to remove personal information from your database for support