Populating Fields from PHP. Breaks Smart Tags
-
Populating a Field From PHP Breaks smart tags associated with it when it has separate values. The Smart Tags Prioritise Numerical Values over Labels.
How do I know this?
Created a Product Field[2] Filled it with Random Data
Label => Post_title
Value => Post_title
Price => RandomNumberThen Created 2 Fields One reads default value [2]
The Other [2 show=value]Outputs when selecting a Option on the product field Regardless of field type.
Field A([2]) = RandomNumber
Field B([2 show=value]) = RandomNumberIn no instance does it Take the Label for these fields.
How Do I know this is a bug with Formidable?I tested this with Ninja And Surprise. It pulls the label. Okay maybe just ninja works.
Lets try wp-forms. What do u know Pulls the label. Okay 2/3 Lets try again.
Contact Form 7 Welp Same thing Pulls the label.Formidable Pro = Pulls Value/Price Never the Label in this situation.
Please fix this.Code I used:
passed an array instead of just post title only difference.
Data I used was just a Random array of numbers and a random post title filled with nonsense
- The topic ‘Populating Fields from PHP. Breaks Smart Tags’ is closed to new replies.