codepeople on "[Plugin: Calculated Fields Form] Displaying values in HTML"

ساخت وبلاگ

Hello,

First off, thank you for such a wonderful plugin!

I've been trying to figure out how to display values in HTML. Here is an example:

-------------------------
John's Age: _____
Mary's Age: _____
Total Age: _____

The total age of the couple is XX, they are eligible for the contest!
-------------------------

There are 3 form fields in the above example.
The first 2 fields are seeking input from the user.
The 3rd field is calculated by the sum of the first 2 fields.

Below/outside the form, I would like to add a line of text that explains the value of the 3rd field within some text. Is this possible?

I tried substituting XX with
[CP_CALCULATED_FIELDS_RESULT]
<p><%fieldname3_value%></p>
[/CP_CALCULATED_FIELDS_RESULT]
but im pretty sure this isnt right, because it didnt work.

https://wordpress.org/plugins/calculated-fields-form/

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 106 تاريخ : چهارشنبه 1 ارديبهشت 1395 ساعت: 15:34