Skip Navigation

[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.

This topic contains 2 replies, has 2 voices.

Last updated by Puntorosso 2 months, 1 week ago.

Assigned support staff: Waqar.

Author
Posts
#2057117

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?

Tried

[cred_form form='local-payment' post='orderId']

but it doesn't work.

Any help is really appreciated.

Thanks.

#2057723

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

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.

regards,
Waqar

#2057759

We took another approach and simply open a new page, instead of the modal window.
Thanks.