Skip Navigation

[Resolved] Cred in a modal

This support ticket is created 2 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by Puntorosso 2 years, 11 months ago.

Assisted by: 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.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.