I have a form with a choice radio button. I would like to populate the post body (using the "Create Content Template" option) based on the value of the radio button but instead of just plain text, I want to use an image, iframe, or other type of content.
I would like to do something like this:
if ( {Creative Commons Licenses:3} == "BY" ) [CC BY]
else if ( {Creative Commons Licenses:3} == "BY-SA" ) [CC BY-SA]
else if ( {Creative Commons Licenses:3} == "BY-ND" ) [CC BY-ND]
else if ( {Creative Commons Licenses:3} == "BY-NC" ) [CC BY-NC]
else if ( {Creative Commons Licenses:3} == "BY-NC-SA" ) [CC BY-NC-SA]
else if ( {Creative Commons Licenses:3} == "BY-NC-ND" ) [CC BY-NC-ND]
(Assuming the CC shortcodes can be translated into code that will insert the CC image tag and some text that describes the license type.)
Does anybody have any suggestions how this can be accomplished?
Thanks in advance,
Jeremiah