admin管理员组文章数量:1335587
I have an inscription form and I'm using Contact Form 7, Conditional Fields plugin and Dynamic Text Extension. I want to show different prices according to the option selected and get the price for showing on the email confirmation (and save into database with Contact Form DB).
With the following code the price is displayed correctly on the web, but always appears with the same value in the confirmation email
Service type [select* serv_type "Regular" "Exceptional"]
[group g_regular clear_on_hide]
Price [dynamictext amount readonly "65"]
[dynamichidden price_value "65"]
[/group]
[group g_exceptional clear_on_hide]
Price [dynamictext amount readonly "45"]
[dynamichidden price_value "45"]
[/group]
The conditional code is
show [g_regular] if [serv_type] equals "Regular"
show [g_exceptional] if [serv_type] equals "Exceptional"
And the email template code is
Subject: Inscription registered ([serv_type])
New [serv_type] inscription with [price_value]€ ([amount]).
The price and amount value is always 65 on the email confirmation and should be 45 if is selected Exceptional
本文标签: pluginsGetting value from dymanic text variable into Contact Form 7
版权声明:本文标题:plugins - Getting value from dymanic text variable into Contact Form 7 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742384304a2464718.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论