cformsII Support Forum
Current User: Guest *Frequently Asked Questions*
Search 
Search Forums:


 




Double Quote in Default Value

Add a New Topic Reply to Post
Post

Patrick - Guest

4:21 pm - March 19, 2008

  • Your URL: local test server
  • The browser used: FF 2.0
  • cforms version: 7.53
  • Your Wordpress version: 2.3.3

The double quote is printed directly and not converted via htmlspecialchars. This is not the case with the regexp value.

Data entered for single line of text:

Height|x' x"|^\d'\s*\d\d"$|err:Height must be in the form x' x".

Produced Source:

  <input type="text" name="cf_field_5" id="cf_field_5" class="single" value="x' x"" onfocus="clearField(this)" onblur="setField(this)"/>
  <input type="hidden" name="cf_field_5_regexp" id="cf_field_5_regexp" value="^\d'\s*\d\d&quot;$"/>

Oliver - Admin

7:35 pm - March 19, 2008

posts 3899

good catch. fixed in v8.

Add a New Topic Reply to Post


Reply to Topic: Double Quote in Default Value
PLEASE READ THE FAQs FIRST! THANK YOU.

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 6 + 4        (Required)

Topic Reply:


 
© Simple:Press Forum - Version 3.1.3 (Build 356)