• Hi,
    I need to assign a numeric value to field name to use it with a salesforce webtolead.

    Example:

    [hidden 00M50000009ZDor value=”This Page Name”]

    I would like to obtain this result
    <input type=”hidden” name=”00M50000009ZDor” value=”This Page Name”>

    but CF7 can’t elaborate it because it’s starts with a number.

    If I put a letter before the number it’s works.

    Is there a way to use a name field that starts with numbers?

    Thank you

Viewing 1 replies (of 1 total)
  • wp-content/plugins/contact-form-7/admin/includes/tag-generator.php:line-15

    function wpcf7_is_name( $string ) {
    	return preg_match( '/^[-A-Za-z0-9_:.]*$/', $string );
    }

    use this snippet only if you know what you are doing!

Viewing 1 replies (of 1 total)
  • The topic ‘How to assign name that starts with number to field name’ is closed to new replies.