PHP in Contact Form 7 Syntax
-
I am trying to include some PHP code in contact Form 7 but my syntax is not meeting the task (it sux). I was wondering if someone could help me out her. Here is the codes intention:
~~~~~~~~~~~~~~~~~~~~~~~
[checkbox* alphabetchoice id:selectalpha exclusive “A” “B” “C”]<if (selectalpha.value==’A’) {do action 1} else {don’t care}/>
<if (selectalpha.value==’B’) {do action 2} else {don’t care}/>
<if (selectalpha.value==’C’) {do action 3} else {don’t care}/>Or nested
<if (selectalpha.value==’A’) {do action 1} else {<if (selectalpha.value==’B’) {do action 2} else {do action 3}}/>
~~~~~~~~~~~~~~~~~~~~~~~
Any help would be greatly appreciated.
The topic ‘PHP in Contact Form 7 Syntax’ is closed to new replies.