Custom tag with attributes that contain spaces
-
Hi there,
I’ve created a custom tag that allows the user to specify the labels used for the inputs, however if they enter a space, WPCF7 treats them as separate options.
When wrapping them in double quotes, it stops WPCF7 identifying the name of the tag.
[toggle email_invoices yes:Yes no:No] Can we use this email to send out invoices? [/toggle]
The above is a working example, but I need the Yes and No attributes to support multiple words.
The only alternative I can think of is to instruct the users to replace spaces with an underscore but that’s not particularly user friendly.
Any suggestions?
- The topic ‘Custom tag with attributes that contain spaces’ is closed to new replies.