Send to API - Multi-Select Field

By: Alavi Quraishi | Asked: 08/16/2023
ForumsCategory: Code HelpSend to API - Multi-Select Field
Alavi QuraishiAlavi Quraishi asked 8 months ago
Just another hopefully quick one when sending a mutli-select field via the Send to API function. The destination system requires multi-select values to be in [ ] brackets. Any tips on how to achieve this.
1 Answers
Victor Font answered 8 months ago
I suggest you build the formatted data string in jQuery and store it in a hidden field. Send the hidden field data to the API
Alavi QuraishiAlavi Quraishi replied 8 months ago

Looks like I'm missing a trick not knowing about jQuery

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community