CalderaWP / Caldera-Forms

Drag and drop, responsive WordPress form builder.
https://CalderaForms.com
GNU General Public License v2.0
187 stars 163 forks source link

Input Mask does not work / Magictag %slug:level% does not work #2705

Open Simple0815 opened 6 years ago

Simple0815 commented 6 years ago

Is This A Feature Request?

No.

What Version Of Caldera Forms, WordPress and PHP Are You Using?

WordPress Version: 4.9.8PHP Version: 7.2.8MySQL Version: 5.7.23Caldera Forms Version: 1.7.2WP_DEBUG:

Does Your Issue Persist When You Disable All Other Plugins and Switch To The Default Theme?

Yes.

What Is The Unexpected Behaviour?

  1. Input Mask does not work:

Field Type „Single Text Line“ Mask = 99999 Expected: I can only type in 5 numbers. Behavior: I can type in everythig, jadskjhfk for example.

  1. Magictag %slug:level% does not work

Input: Field Type = „Dropdown Box“ Slug = toplevel Option1: value: 12 / label: .de Option2: value: 22 / label: .com Option3: value: 15 / label: .eu

Output: Field Type „HTML“ %toplevel:label% %toplevel%

Expected output:

Option1: .de 12

Option2: .com 22

Option3: .eu 15

Real output: %toplevel:label% = nothing =>

Option1: 12

Option2: 22

Option3: 15

What PHP Errors Have You Logged While Reproducing This Bug?

None.

What JavaScript Errors Have You Seen While Reproducing This Bug?

No errors, no warnings

swapnilmanjrekar commented 5 years ago

I checked this bug using the following steps:

Javascript Errors :

PHP Errors:

WordPress Version: 4.9.8 PHP Version: 7.1.22 MySQL Version: 5.7.23 Caldera Forms Version: 1.7.4 WP_DEBUG: 1

 

New0 commented 5 years ago

Hello @Simple0815 @swapnilmanjrekar ,

Point 1, Masks issue is duplicate of #1698 and needs to be worked on.

We couldn't reproduce the second point.