Custom Contact Forms - Version 6.3.4

Version Description

  • Re-add PHP function to server form via PHP
  • Don't escape form title since it is already escaped
  • Fix notice sent because of missing hidden field validator
  • Remove overflow: auto from fields. Instead use clearing div
Download this release

Release Info

Developer tlovett1
Plugin Icon 128x128 Custom Contact Forms
Version 6.3.4
Comparing to
See all releases

Code changes from version 6.3.3 to 6.3.4

build/css/form.css CHANGED
@@ -1,5 +1,7 @@
1
  .ccf-form-wrapper {
2
  margin: 20px 0; }
 
 
3
  .ccf-form-wrapper .form-title {
4
  font-size: 150%;
5
  padding: 20px 0; }
@@ -18,8 +20,7 @@
18
  margin: 0 0 0 6px; }
19
  .ccf-form-wrapper .field {
20
  margin-bottom: 24px;
21
- clear: both;
22
- overflow: auto; }
23
  .ccf-form-wrapper .field[data-field-type="recaptcha"] .error, .ccf-form-wrapper .field[data-field-type="dropdown"] .error, .ccf-form-wrapper .field[data-field-type="radio"] .error, .ccf-form-wrapper .field[data-field-type="checkboxes"] .error, .ccf-form-wrapper .field[data-field-type="date"] .error {
24
  float: none; }
25
  .ccf-form-wrapper .field .error {
1
  .ccf-form-wrapper {
2
  margin: 20px 0; }
3
+ .ccf-form-wrapper .ccf-clear {
4
+ clear: both; }
5
  .ccf-form-wrapper .form-title {
6
  font-size: 150%;
7
  padding: 20px 0; }
20
  margin: 0 0 0 6px; }
21
  .ccf-form-wrapper .field {
22
  margin-bottom: 24px;
23
+ clear: both; }
 
24
  .ccf-form-wrapper .field[data-field-type="recaptcha"] .error, .ccf-form-wrapper .field[data-field-type="dropdown"] .error, .ccf-form-wrapper .field[data-field-type="radio"] .error, .ccf-form-wrapper .field[data-field-type="checkboxes"] .error, .ccf-form-wrapper .field[data-field-type="date"] .error {
25
  float: none; }
26
  .ccf-form-wrapper .field .error {
build/css/form.css.map CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "version": 3,
3
- "mappings": "AAAA,iBAAkB;EACjB,MAAM,EAAE,MAAM;EAEd,6BAAY;IACX,SAAS,EAAE,IAAI;IACf,OAAO,EAAE,MAAM;EAGhB,mCAAkB;IACjB,OAAO,EAAE,UAAU;EAInB,kCAAI;IACH,cAAc,EAAE,MAAM;IACtB,OAAO,EAAE,YAAY;IACrB,MAAM,EAAE,CAAC;IACT,UAAU,EAAE,oDAAoD;IAChE,MAAM,EAAE,gBAAgB;IACxB,YAAY,EAAE,CAAC;IACf,cAAc,EAAE,CAAC;IACjB,OAAO,EAAE,CAAC;IACV,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,SAAS;EAInB,wBAAO;IACN,aAAa,EAAE,IAAI;IACnB,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,IAAI;IAGb,2SAAO;MACN,KAAK,EAAE,IAAI;IAIb,+BAAO;MACN,KAAK,EAAE,OAAO;MACd,KAAK,EAAE,KAAK;MACZ,SAAS,EAAE,GAAG;MACd,UAAU,EAAE,GAAG;MAEf,wFAA6B;QAC5B,KAAK,EAAE,IAAI;MAGZ,2CAAc;QACb,KAAK,EAAE,KAAK;IAId,2CAAmB;MAClB,MAAM,EAAE,iBAAiB;IAG1B,8BAAM;MACL,OAAO,EAAE,KAAK;MACd,KAAK,EAAE,IAAI;MACX,aAAa,EAAE,GAAG;MAClB,WAAW,EAAE,IAAI;MAEjB,wCAAU;QACT,KAAK,EAAE,OAAO;IAIhB,8EAA6B;MAC5B,KAAK,EAAE,IAAI;MACX,UAAU,EAAE,UAAU;IAGvB,iCAAS;MACR,UAAU,EAAE,KAAK;MACjB,KAAK,EAAE,OAAO;MACd,WAAW,EAAE,OAAO;IAGrB,8BAAM;MACL,KAAK,EAAE,GAAG;MACV,KAAK,EAAE,IAAI;MACX,UAAU,EAAE,UAAU;MACtB,aAAa,EAAE,IAAI;MACnB,KAAK,EAAE,IAAI;IAGZ,+BAAO;MACN,KAAK,EAAE,GAAG;MACV,KAAK,EAAE,KAAK;MACZ,UAAU,EAAE,UAAU;MACtB,YAAY,EAAE,IAAI;IAGnB,mCAAW;MACV,UAAU,EAAE,GAAG;MACf,SAAS,EAAE,GAAG;MACd,KAAK,EAAE,IAAI;MACX,WAAW,EAAE,MAAM;IAKnB,gDAAS;MACR,SAAS,EAAE,IAAI;MACf,aAAa,EAAE,cAAc;MAC7B,cAAc,EAAE,GAAG;IAGpB,mDAAY;MACX,UAAU,EAAE,IAAI;MAChB,SAAS,EAAE,GAAG;MACd,UAAU,EAAE,MAAM;IAKnB,0EAAe;MACd,OAAO,EAAE,YAAY;MACrB,YAAY,EAAE,GAAG;MAEjB,sFAAM;QACL,KAAK,EAAE,KAAK;MAGb,sFAAM;QACL,WAAW,EAAE,MAAM;IAIrB,oCAAO;MACN,OAAO,EAAE,YAAY;MACrB,cAAc,EAAE,GAAG;MAEnB,2CAAO;QACN,KAAK,EAAE,IAAI",
4
  "sources": ["../../scss/form.scss"],
5
  "names": [],
6
  "file": "form.css"
1
  {
2
  "version": 3,
3
+ "mappings": "AAAA,iBAAkB;EACjB,MAAM,EAAE,MAAM;EAEd,4BAAW;IACV,KAAK,EAAE,IAAI;EAGZ,6BAAY;IACX,SAAS,EAAE,IAAI;IACf,OAAO,EAAE,MAAM;EAGhB,mCAAkB;IACjB,OAAO,EAAE,UAAU;EAInB,kCAAI;IACH,cAAc,EAAE,MAAM;IACtB,OAAO,EAAE,YAAY;IACrB,MAAM,EAAE,CAAC;IACT,UAAU,EAAE,oDAAoD;IAChE,MAAM,EAAE,gBAAgB;IACxB,YAAY,EAAE,CAAC;IACf,cAAc,EAAE,CAAC;IACjB,OAAO,EAAE,CAAC;IACV,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,SAAS;EAInB,wBAAO;IACN,aAAa,EAAE,IAAI;IACnB,KAAK,EAAE,IAAI;IAGV,2SAAO;MACN,KAAK,EAAE,IAAI;IAIb,+BAAO;MACN,KAAK,EAAE,OAAO;MACd,KAAK,EAAE,KAAK;MACZ,SAAS,EAAE,GAAG;MACd,UAAU,EAAE,GAAG;MAEf,wFAA6B;QAC5B,KAAK,EAAE,IAAI;MAGZ,2CAAc;QACb,KAAK,EAAE,KAAK;IAId,2CAAmB;MAClB,MAAM,EAAE,iBAAiB;IAG1B,8BAAM;MACL,OAAO,EAAE,KAAK;MACd,KAAK,EAAE,IAAI;MACX,aAAa,EAAE,GAAG;MAClB,WAAW,EAAE,IAAI;MAEjB,wCAAU;QACT,KAAK,EAAE,OAAO;IAIhB,8EAA6B;MAC5B,KAAK,EAAE,IAAI;MACX,UAAU,EAAE,UAAU;IAGvB,iCAAS;MACR,UAAU,EAAE,KAAK;MACjB,KAAK,EAAE,OAAO;MACd,WAAW,EAAE,OAAO;IAGrB,8BAAM;MACL,KAAK,EAAE,GAAG;MACV,KAAK,EAAE,IAAI;MACX,UAAU,EAAE,UAAU;MACtB,aAAa,EAAE,IAAI;MACnB,KAAK,EAAE,IAAI;IAGZ,+BAAO;MACN,KAAK,EAAE,GAAG;MACV,KAAK,EAAE,KAAK;MACZ,UAAU,EAAE,UAAU;MACtB,YAAY,EAAE,IAAI;IAGnB,mCAAW;MACV,UAAU,EAAE,GAAG;MACf,SAAS,EAAE,GAAG;MACd,KAAK,EAAE,IAAI;MACX,WAAW,EAAE,MAAM;IAKnB,gDAAS;MACR,SAAS,EAAE,IAAI;MACf,aAAa,EAAE,cAAc;MAC7B,cAAc,EAAE,GAAG;IAGpB,mDAAY;MACX,UAAU,EAAE,IAAI;MAChB,SAAS,EAAE,GAAG;MACd,UAAU,EAAE,MAAM;IAKnB,0EAAe;MACd,OAAO,EAAE,YAAY;MACrB,YAAY,EAAE,GAAG;MAEjB,sFAAM;QACL,KAAK,EAAE,KAAK;MAGb,sFAAM;QACL,WAAW,EAAE,MAAM;IAIrB,oCAAO;MACN,OAAO,EAAE,YAAY;MACrB,cAAc,EAAE,GAAG;MAEnB,2CAAO;QACN,KAAK,EAAE,IAAI",
4
  "sources": ["../../scss/form.scss"],
5
  "names": [],
6
  "file": "form.css"
build/css/form.min.css CHANGED
@@ -1 +1 @@
1
- .ccf-form-wrapper{margin:20px 0}.ccf-form-wrapper .form-title{font-size:150%;padding:20px 0}.ccf-form-wrapper .form-description{padding:0 0 20px}.ccf-form-wrapper .form-submit img{vertical-align:middle;display:inline-block;border:0;-ms-filter:"alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0;float:none;margin:0 0 0 6px}.ccf-form-wrapper .field{margin-bottom:24px;clear:both;overflow:auto}.ccf-form-wrapper .field[data-field-type=checkboxes] .error,.ccf-form-wrapper .field[data-field-type=date] .error,.ccf-form-wrapper .field[data-field-type=dropdown] .error,.ccf-form-wrapper .field[data-field-type=radio] .error,.ccf-form-wrapper .field[data-field-type=recaptcha] .error{float:none}.ccf-form-wrapper .field .error{color:red;float:right;font-size:85%;margin-top:3px}.ccf-form-wrapper .field .error.email-error,.ccf-form-wrapper .field .error.match-error{float:none}.ccf-form-wrapper .field .error.right-error{float:right}.ccf-form-wrapper .field .field-error-input{border:1px solid red}.ccf-form-wrapper .field label{display:block;clear:both;margin-bottom:6px;font-weight:700}.ccf-form-wrapper .field label .required{color:red}.ccf-form-wrapper .field input[type=text],.ccf-form-wrapper .field textarea{width:100%;box-sizing:border-box}.ccf-form-wrapper .field textarea{min-height:100px;color:inherit;font-family:inherit}.ccf-form-wrapper .field .left{width:50%;float:left;box-sizing:border-box;padding-right:10px;clear:both}.ccf-form-wrapper .field .right{width:50%;float:right;box-sizing:border-box;padding-left:10px}.ccf-form-wrapper .field .sub-label{margin-top:3px;font-size:85%;clear:none;font-weight:400}.ccf-form-wrapper .field.section-header .heading{font-size:125%;border-bottom:1px solid #ccc;padding-bottom:5px}.ccf-form-wrapper .field.section-header .subheading{margin-top:10px;font-size:85%;font-style:italic}.ccf-form-wrapper .field.date .hour,.ccf-form-wrapper .field.date .minute{display:inline-block;margin-right:5px}.ccf-form-wrapper .field.date .hour input,.ccf-form-wrapper .field.date .minute input{width:2.5em}.ccf-form-wrapper .field.date .hour label,.ccf-form-wrapper .field.date .minute label{font-weight:400}.ccf-form-wrapper .field.date .am-pm{display:inline-block;vertical-align:top}.ccf-form-wrapper .field.date .am-pm select{width:auto}
1
+ .ccf-form-wrapper{margin:20px 0}.ccf-form-wrapper .ccf-clear{clear:both}.ccf-form-wrapper .form-title{font-size:150%;padding:20px 0}.ccf-form-wrapper .form-description{padding:0 0 20px}.ccf-form-wrapper .form-submit img{vertical-align:middle;display:inline-block;border:0;-ms-filter:"alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0;float:none;margin:0 0 0 6px}.ccf-form-wrapper .field{margin-bottom:24px;clear:both}.ccf-form-wrapper .field[data-field-type=checkboxes] .error,.ccf-form-wrapper .field[data-field-type=date] .error,.ccf-form-wrapper .field[data-field-type=dropdown] .error,.ccf-form-wrapper .field[data-field-type=radio] .error,.ccf-form-wrapper .field[data-field-type=recaptcha] .error{float:none}.ccf-form-wrapper .field .error{color:red;float:right;font-size:85%;margin-top:3px}.ccf-form-wrapper .field .error.email-error,.ccf-form-wrapper .field .error.match-error{float:none}.ccf-form-wrapper .field .error.right-error{float:right}.ccf-form-wrapper .field .field-error-input{border:1px solid red}.ccf-form-wrapper .field label{display:block;clear:both;margin-bottom:6px;font-weight:700}.ccf-form-wrapper .field label .required{color:red}.ccf-form-wrapper .field input[type=text],.ccf-form-wrapper .field textarea{width:100%;box-sizing:border-box}.ccf-form-wrapper .field textarea{min-height:100px;color:inherit;font-family:inherit}.ccf-form-wrapper .field .left{width:50%;float:left;box-sizing:border-box;padding-right:10px;clear:both}.ccf-form-wrapper .field .right{width:50%;float:right;box-sizing:border-box;padding-left:10px}.ccf-form-wrapper .field .sub-label{margin-top:3px;font-size:85%;clear:none;font-weight:400}.ccf-form-wrapper .field.section-header .heading{font-size:125%;border-bottom:1px solid #ccc;padding-bottom:5px}.ccf-form-wrapper .field.section-header .subheading{margin-top:10px;font-size:85%;font-style:italic}.ccf-form-wrapper .field.date .hour,.ccf-form-wrapper .field.date .minute{display:inline-block;margin-right:5px}.ccf-form-wrapper .field.date .hour input,.ccf-form-wrapper .field.date .minute input{width:2.5em}.ccf-form-wrapper .field.date .hour label,.ccf-form-wrapper .field.date .minute label{font-weight:400}.ccf-form-wrapper .field.date .am-pm{display:inline-block;vertical-align:top}.ccf-form-wrapper .field.date .am-pm select{width:auto}
classes/class-ccf-field-renderer.php CHANGED
@@ -681,6 +681,7 @@ class CCF_Field_Renderer {
681
  <?php if ( ! empty( $errors['email'] ) ) : ?>
682
  <div class="error"><?php echo esc_html( $errors['email'] ); ?></div>
683
  <?php endif; ?>
 
684
  <?php } ?>
685
  </div>
686
 
@@ -740,6 +741,7 @@ class CCF_Field_Renderer {
740
  <?php endif; ?>
741
  <label for="ccf_field_<?php echo esc_attr( $slug ); ?>-last" class="sub-label">Last</label>
742
  </div>
 
743
  </div>
744
 
745
  <?php
@@ -813,6 +815,7 @@ class CCF_Field_Renderer {
813
  <option <?php if ( ! empty( $am_pm_post_value ) ) { selected( 'pm', $am_pm_post_value ); } ?> value="pm"><?php esc_html_e( 'PM', 'custom-contact-forms' ); ?></option>
814
  </select>
815
  </div>
 
816
  <?php } else { ?>
817
  <div class="left">
818
  <input value="<?php if ( ! empty( $date_post_value ) ) { echo esc_attr( $date_post_value ); } ?>" <?php if ( ! empty( $required ) ) : ?>required aria-required="true"<?php endif; ?> name="ccf_field_<?php echo esc_attr( $slug ); ?>[date]" class="<?php if ( ! empty( $errors['date_required'] ) ) : ?>field-error-input<?php endif; ?> ccf-datepicker field-input" id="ccf_field_<?php echo esc_attr( $slug ); ?>-date" type="text">
@@ -834,6 +837,7 @@ class CCF_Field_Renderer {
834
  </select>
835
  </div>
836
  </div>
 
837
  <?php } ?>
838
  <?php if ( ! empty( $errors ) ) : foreach ( $errors as $error ) : ?>
839
  <div class="error"><?php echo esc_html( $error ); ?></div>
681
  <?php if ( ! empty( $errors['email'] ) ) : ?>
682
  <div class="error"><?php echo esc_html( $errors['email'] ); ?></div>
683
  <?php endif; ?>
684
+ <div class="ccf-clear"></div>
685
  <?php } ?>
686
  </div>
687
 
741
  <?php endif; ?>
742
  <label for="ccf_field_<?php echo esc_attr( $slug ); ?>-last" class="sub-label">Last</label>
743
  </div>
744
+ <div class="ccf-clear"></div>
745
  </div>
746
 
747
  <?php
815
  <option <?php if ( ! empty( $am_pm_post_value ) ) { selected( 'pm', $am_pm_post_value ); } ?> value="pm"><?php esc_html_e( 'PM', 'custom-contact-forms' ); ?></option>
816
  </select>
817
  </div>
818
+ <div class="ccf-clear"></div>
819
  <?php } else { ?>
820
  <div class="left">
821
  <input value="<?php if ( ! empty( $date_post_value ) ) { echo esc_attr( $date_post_value ); } ?>" <?php if ( ! empty( $required ) ) : ?>required aria-required="true"<?php endif; ?> name="ccf_field_<?php echo esc_attr( $slug ); ?>[date]" class="<?php if ( ! empty( $errors['date_required'] ) ) : ?>field-error-input<?php endif; ?> ccf-datepicker field-input" id="ccf_field_<?php echo esc_attr( $slug ); ?>-date" type="text">
837
  </select>
838
  </div>
839
  </div>
840
+ <div class="ccf-clear"></div>
841
  <?php } ?>
842
  <?php if ( ! empty( $errors ) ) : foreach ( $errors as $error ) : ?>
843
  <div class="error"><?php echo esc_html( $error ); ?></div>
classes/class-ccf-form-handler.php CHANGED
@@ -720,6 +720,7 @@ class CCF_Form_Handler {
720
  *
721
  * @param int $field_id
722
  * @param string $value
 
723
  * @return array
724
  */
725
  public function process_field( $field_id, $value ) {
@@ -731,7 +732,8 @@ class CCF_Form_Handler {
731
  $type = get_post_meta( $field_id, 'ccf_field_type', true );
732
  $required = get_post_meta( $field_id, 'ccf_field_required', true );
733
 
734
- $validator = apply_filters( 'ccf_field_validator', $this->field_callbacks[$type]['validator'], $value, $field_id, $type );
 
735
 
736
  $is_valid = true;
737
  if ( ! empty( $validator ) ) {
720
  *
721
  * @param int $field_id
722
  * @param string $value
723
+ * @since 6.0
724
  * @return array
725
  */
726
  public function process_field( $field_id, $value ) {
732
  $type = get_post_meta( $field_id, 'ccf_field_type', true );
733
  $required = get_post_meta( $field_id, 'ccf_field_required', true );
734
 
735
+ $callback = ( ! empty( $this->field_callbacks[$type]['validator'] ) ) ? $this->field_callbacks[$type]['validator'] : null;
736
+ $validator = apply_filters( 'ccf_field_validator', $callback, $value, $field_id, $type );
737
 
738
  $is_valid = true;
739
  if ( ! empty( $validator ) ) {
classes/class-ccf-form-manager.php CHANGED
@@ -726,6 +726,8 @@ class CCF_Form_Manager {
726
  <label><?php esc_html_e( 'Manage field choices:', 'custom-contact-forms' ); ?></label>
727
  <div class="repeatable-choices">
728
  </div>
 
 
729
  </div>
730
  </div>
731
  </div>
@@ -763,6 +765,8 @@ class CCF_Form_Manager {
763
  <label><?php esc_html_e( 'Manage field choices:', 'custom-contact-forms' ); ?></label>
764
  <div class="repeatable-choices">
765
  </div>
 
 
766
  </div>
767
  </div>
768
  </div>
@@ -800,6 +804,8 @@ class CCF_Form_Manager {
800
  <label><?php esc_html_e( 'Manage field choices:', 'custom-contact-forms' ); ?></label>
801
  <div class="repeatable-choices">
802
  </div>
 
 
803
  </div>
804
  </div>
805
  </div>
726
  <label><?php esc_html_e( 'Manage field choices:', 'custom-contact-forms' ); ?></label>
727
  <div class="repeatable-choices">
728
  </div>
729
+
730
+ <p><?php esc_html_e( "Note: If an option does not have a \"value\", it will not be considered a valid selection if the field is required. The \"value\" is what's read, stored, and displayed in the submission.", 'custom-contact-forms' ); ?></p>
731
  </div>
732
  </div>
733
  </div>
765
  <label><?php esc_html_e( 'Manage field choices:', 'custom-contact-forms' ); ?></label>
766
  <div class="repeatable-choices">
767
  </div>
768
+
769
+ <p><?php esc_html_e( "Note: If an option does not have a \"value\", it will not be considered a valid selection if the field is required. The \"value\" is what's read, stored, and displayed in the submission.", 'custom-contact-forms' ); ?></p>
770
  </div>
771
  </div>
772
  </div>
804
  <label><?php esc_html_e( 'Manage field choices:', 'custom-contact-forms' ); ?></label>
805
  <div class="repeatable-choices">
806
  </div>
807
+
808
+ <p><?php esc_html_e( "Note: If an option does not have a \"value\", it will not be considered a valid selection if the field is required. The \"value\" is what's read, stored, and displayed in the submission.", 'custom-contact-forms' ); ?></p>
809
  </div>
810
  </div>
811
  </div>
classes/class-ccf-form-renderer.php CHANGED
@@ -22,17 +22,13 @@ class CCF_Form_Renderer {
22
  /**
23
  * Enqueue scripts for form
24
  *
25
- * @todo only enqueue when a form is present
26
  * @since 6.0
27
  */
28
  public function action_wp_enqueue_scripts() {
29
- if ( is_single() ) {
30
- global $post;
31
-
32
- if ( ! preg_match( '#\[ccf_form id="[0-9]+"\]#i', $post->post_content ) ) {
33
- return;
34
- }
35
- }
36
 
37
  if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) {
38
  $css_form_path = '/build/css/form.css';
@@ -132,7 +128,7 @@ class CCF_Form_Renderer {
132
 
133
  <?php $title = get_the_title( $form_id ); if ( ! empty( $title ) && apply_filters( 'ccf_show_form_title', true, $form_id ) ) : ?>
134
  <div class="form-title">
135
- <?php echo esc_html( $title ); ?>
136
  </div>
137
  <?php endif; ?>
138
 
@@ -192,4 +188,26 @@ class CCF_Form_Renderer {
192
 
193
  return $instance;
194
  }
195
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  /**
23
  * Enqueue scripts for form
24
  *
 
25
  * @since 6.0
26
  */
27
  public function action_wp_enqueue_scripts() {
28
+ /**
29
+ * Todo: We need away to enqueue all this stuff conditionally. The best idea I
30
+ * have is creating a settings page to enter URL's where forms will be added.
31
+ */
 
 
 
32
 
33
  if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) {
34
  $css_form_path = '/build/css/form.css';
128
 
129
  <?php $title = get_the_title( $form_id ); if ( ! empty( $title ) && apply_filters( 'ccf_show_form_title', true, $form_id ) ) : ?>
130
  <div class="form-title">
131
+ <?php echo $title; ?>
132
  </div>
133
  <?php endif; ?>
134
 
188
 
189
  return $instance;
190
  }
191
+ }
192
+
193
+ /**
194
+ * Output a custom contact form.
195
+ *
196
+ * @param $form_id
197
+ * @since 6.3.4
198
+ * @return string
199
+ */
200
+ function ccf_output_form( $form_id ) {
201
+ echo CCF_Form_Renderer::factory()->get_rendered_form( $form_id );
202
+ }
203
+
204
+ /**
205
+ * Output a custom contact form. This is function is here for backwards compat.
206
+ *
207
+ * @param $form_id
208
+ * @since 1.0?
209
+ * @return string
210
+ */
211
+ function serveCustomContactForm( $form_id ) {
212
+ ccf_output_form( $form_id );
213
+ }
custom-contact-forms.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: http://www.taylorlovett.com
5
  * Description: Build beautiful custom forms the WordPress way. View live previews of your forms while you build them.
6
  * Author: Taylor Lovett
7
- * Version: 6.3.3
8
  * Author URI: http://www.taylorlovett.com
9
  */
10
 
4
  * Plugin URI: http://www.taylorlovett.com
5
  * Description: Build beautiful custom forms the WordPress way. View live previews of your forms while you build them.
6
  * Author: Taylor Lovett
7
+ * Version: 6.3.4
8
  * Author URI: http://www.taylorlovett.com
9
  */
10
 
languages/custom-contact-forms.mo CHANGED
Binary file
languages/custom-contact-forms.po CHANGED
@@ -5,8 +5,8 @@ msgstr ""
5
  "Project-Id-Version: Custom Contact Forms\n"
6
  "Report-Msgid-Bugs-To: https://github.com/tlovett1/editorial-access-manager/"
7
  "issues\n"
8
- "POT-Creation-Date: 2015-01-27 19:17+0100\n"
9
- "PO-Revision-Date: 2015-01-27 19:17+0100\n"
10
  "Last-Translator: Taylor Lovett <tlovett88@gmail.com>\n"
11
  "Language-Team: LANGUAGE <LL@li.org>\n"
12
  "Language: en\n"
@@ -67,42 +67,42 @@ msgstr ""
67
  msgid "<a href=\"%s\">Forms and Submissions</a>"
68
  msgstr ""
69
 
70
- #: ../classes/class-ccf-field-renderer.php:804
71
- #: ../classes/class-ccf-field-renderer.php:824
72
- #: ../classes/class-ccf-form-manager.php:916
73
- #: ../classes/class-ccf-form-manager.php:937
74
  msgid "HH"
75
  msgstr ""
76
 
77
- #: ../classes/class-ccf-field-renderer.php:808
78
- #: ../classes/class-ccf-field-renderer.php:828
79
- #: ../classes/class-ccf-form-manager.php:920
80
- #: ../classes/class-ccf-form-manager.php:941
81
  msgid "MM"
82
  msgstr ""
83
 
84
- #: ../classes/class-ccf-field-renderer.php:812
85
- #: ../classes/class-ccf-field-renderer.php:832
86
- #: ../classes/class-ccf-form-manager.php:924
87
- #: ../classes/class-ccf-form-manager.php:945
88
  msgid "AM"
89
  msgstr ""
90
 
91
- #: ../classes/class-ccf-field-renderer.php:813
92
- #: ../classes/class-ccf-field-renderer.php:833
93
- #: ../classes/class-ccf-form-manager.php:925
94
- #: ../classes/class-ccf-form-manager.php:946
95
  msgid "PM"
96
  msgstr ""
97
 
98
- #: ../classes/class-ccf-field-renderer.php:819
99
  #: ../classes/class-ccf-form-cpt.php:306
100
  #: ../classes/class-ccf-form-manager.php:223
101
  #: ../classes/class-ccf-form-manager.php:236
102
- #: ../classes/class-ccf-form-manager.php:932
103
- #: ../classes/class-ccf-form-manager.php:1100
104
- #: ../classes/class-ccf-form-manager.php:1114
105
- #: ../classes/class-ccf-form-manager.php:1242
106
  msgid "Date"
107
  msgstr ""
108
 
@@ -150,7 +150,7 @@ msgid "Move to Trash"
150
  msgstr ""
151
 
152
  #: ../classes/class-ccf-form-cpt.php:247
153
- #: ../classes/class-ccf-form-manager.php:1042
154
  msgid "(No title)"
155
  msgstr ""
156
 
@@ -243,12 +243,12 @@ msgstr ""
243
  #: ../classes/class-ccf-form-handler.php:279
244
  #: ../classes/class-ccf-form-handler.php:287
245
  #: ../classes/class-ccf-form-handler.php:341
246
- #: ../classes/class-ccf-form-renderer.php:53
247
  msgid "This field is required."
248
  msgstr ""
249
 
250
  #: ../classes/class-ccf-form-handler.php:167
251
- #: ../classes/class-ccf-form-renderer.php:60
252
  msgid "Your reCAPTCHA response was incorrect."
253
  msgstr ""
254
 
@@ -278,7 +278,7 @@ msgid "This is not a valid email"
278
  msgstr ""
279
 
280
  #: ../classes/class-ccf-form-handler.php:282
281
- #: ../classes/class-ccf-form-renderer.php:58
282
  msgid "Emails do not match."
283
  msgstr ""
284
 
@@ -291,49 +291,49 @@ msgid "Last name is required."
291
  msgstr ""
292
 
293
  #: ../classes/class-ccf-form-handler.php:344
294
- #: ../classes/class-ccf-form-renderer.php:67
295
  msgid "This is not a valid URL. URL's must start with http(s)://"
296
  msgstr ""
297
 
298
  #: ../classes/class-ccf-form-handler.php:372
299
  #: ../classes/class-ccf-form-handler.php:404
300
- #: ../classes/class-ccf-form-renderer.php:54
301
  msgid "Date is required."
302
  msgstr ""
303
 
304
  #: ../classes/class-ccf-form-handler.php:375
305
  #: ../classes/class-ccf-form-handler.php:407
306
- #: ../classes/class-ccf-form-renderer.php:65
307
  msgid "This date is not valid."
308
  msgstr ""
309
 
310
  #: ../classes/class-ccf-form-handler.php:380
311
  #: ../classes/class-ccf-form-handler.php:412
312
- #: ../classes/class-ccf-form-renderer.php:55
313
  msgid "Hour is required."
314
  msgstr ""
315
 
316
  #: ../classes/class-ccf-form-handler.php:383
317
  #: ../classes/class-ccf-form-handler.php:415
318
- #: ../classes/class-ccf-form-renderer.php:64
319
  msgid "This is not a valid hour."
320
  msgstr ""
321
 
322
  #: ../classes/class-ccf-form-handler.php:388
323
  #: ../classes/class-ccf-form-handler.php:420
324
- #: ../classes/class-ccf-form-renderer.php:56
325
  msgid "Minute is required."
326
  msgstr ""
327
 
328
  #: ../classes/class-ccf-form-handler.php:391
329
  #: ../classes/class-ccf-form-handler.php:423
330
- #: ../classes/class-ccf-form-renderer.php:66
331
  msgid "This is not a valid minute."
332
  msgstr ""
333
 
334
  #: ../classes/class-ccf-form-handler.php:396
335
  #: ../classes/class-ccf-form-handler.php:428
336
- #: ../classes/class-ccf-form-renderer.php:57
337
  msgid "AM/PM is required."
338
  msgstr ""
339
 
@@ -347,7 +347,7 @@ msgid "%s: Form Submission to \"%s\""
347
  msgstr ""
348
 
349
  #: ../classes/class-ccf-form-handler.php:710
350
- #: ../classes/class-ccf-form-renderer.php:120
351
  msgid "Thank you for your submission."
352
  msgstr ""
353
 
@@ -376,7 +376,7 @@ msgid "&rarr; Drag fields here to add them"
376
  msgstr ""
377
 
378
  #: ../classes/class-ccf-form-manager.php:115
379
- #: ../classes/class-ccf-form-manager.php:1045
380
  msgid "Insert into post"
381
  msgstr ""
382
 
@@ -439,8 +439,8 @@ msgstr ""
439
  #: ../classes/class-ccf-form-manager.php:667
440
  #: ../classes/class-ccf-form-manager.php:674
441
  #: ../classes/class-ccf-form-manager.php:721
442
- #: ../classes/class-ccf-form-manager.php:758
443
- #: ../classes/class-ccf-form-manager.php:795
444
  msgid "Yes"
445
  msgstr ""
446
 
@@ -455,8 +455,8 @@ msgstr ""
455
  #: ../classes/class-ccf-form-manager.php:668
456
  #: ../classes/class-ccf-form-manager.php:675
457
  #: ../classes/class-ccf-form-manager.php:722
458
- #: ../classes/class-ccf-form-manager.php:759
459
- #: ../classes/class-ccf-form-manager.php:796
460
  msgid "No"
461
  msgstr ""
462
 
@@ -528,8 +528,8 @@ msgstr ""
528
  #: ../classes/class-ccf-form-manager.php:616
529
  #: ../classes/class-ccf-form-manager.php:655
530
  #: ../classes/class-ccf-form-manager.php:715
531
- #: ../classes/class-ccf-form-manager.php:752
532
- #: ../classes/class-ccf-form-manager.php:789
533
  msgid "Label:"
534
  msgstr ""
535
 
@@ -552,8 +552,8 @@ msgstr ""
552
  #: ../classes/class-ccf-form-manager.php:627
553
  #: ../classes/class-ccf-form-manager.php:665
554
  #: ../classes/class-ccf-form-manager.php:719
555
- #: ../classes/class-ccf-form-manager.php:756
556
- #: ../classes/class-ccf-form-manager.php:793
557
  msgid "Required:"
558
  msgstr ""
559
 
@@ -569,9 +569,9 @@ msgstr ""
569
  #: ../classes/class-ccf-form-manager.php:593
570
  #: ../classes/class-ccf-form-manager.php:636
571
  #: ../classes/class-ccf-form-manager.php:681
572
- #: ../classes/class-ccf-form-manager.php:733
573
- #: ../classes/class-ccf-form-manager.php:770
574
- #: ../classes/class-ccf-form-manager.php:807
575
  msgid "Advanced"
576
  msgstr ""
577
 
@@ -587,9 +587,9 @@ msgstr ""
587
  #: ../classes/class-ccf-form-manager.php:596
588
  #: ../classes/class-ccf-form-manager.php:639
589
  #: ../classes/class-ccf-form-manager.php:684
590
- #: ../classes/class-ccf-form-manager.php:736
591
- #: ../classes/class-ccf-form-manager.php:773
592
- #: ../classes/class-ccf-form-manager.php:810
593
  msgid "Class Name:"
594
  msgstr ""
595
 
@@ -631,8 +631,8 @@ msgstr ""
631
  #: ../classes/class-ccf-form-manager.php:609
632
  #: ../classes/class-ccf-form-manager.php:648
633
  #: ../classes/class-ccf-form-manager.php:708
634
- #: ../classes/class-ccf-form-manager.php:745
635
- #: ../classes/class-ccf-form-manager.php:782
636
  msgid "Basic"
637
  msgstr ""
638
 
@@ -655,8 +655,8 @@ msgstr ""
655
  #: ../classes/class-ccf-form-manager.php:612
656
  #: ../classes/class-ccf-form-manager.php:651
657
  #: ../classes/class-ccf-form-manager.php:711
658
- #: ../classes/class-ccf-form-manager.php:748
659
- #: ../classes/class-ccf-form-manager.php:785
660
  msgid "Internal Unique Slug (a-z, 0-9, -, _):"
661
  msgstr ""
662
 
@@ -698,182 +698,191 @@ msgid "Value"
698
  msgstr ""
699
 
700
  #: ../classes/class-ccf-form-manager.php:726
701
- #: ../classes/class-ccf-form-manager.php:763
702
- #: ../classes/class-ccf-form-manager.php:800
703
  msgid "Manage field choices:"
704
  msgstr ""
705
 
706
- #: ../classes/class-ccf-form-manager.php:842
707
- #: ../classes/class-ccf-form-manager.php:855
708
- #: ../classes/class-ccf-form-manager.php:870
 
 
 
 
 
 
 
 
 
709
  msgid "An example choice"
710
  msgstr ""
711
 
712
- #: ../classes/class-ccf-form-manager.php:885
713
  msgid "Arbitrary block of HTML."
714
  msgstr ""
715
 
716
- #: ../classes/class-ccf-form-manager.php:891
717
  msgid "Section Heading"
718
  msgstr ""
719
 
720
- #: ../classes/class-ccf-form-manager.php:893
721
  msgid "This is the sub-heading text."
722
  msgstr ""
723
 
724
- #: ../classes/class-ccf-form-manager.php:900
725
  msgid "First"
726
  msgstr ""
727
 
728
- #: ../classes/class-ccf-form-manager.php:904
729
  msgid "Last"
730
  msgstr ""
731
 
732
- #: ../classes/class-ccf-form-manager.php:958
733
- #: ../classes/class-ccf-form-manager.php:983
734
  msgid "Street Address"
735
  msgstr ""
736
 
737
- #: ../classes/class-ccf-form-manager.php:962
738
- #: ../classes/class-ccf-form-manager.php:987
739
  msgid "Address Line 2"
740
  msgstr ""
741
 
742
- #: ../classes/class-ccf-form-manager.php:966
743
- #: ../classes/class-ccf-form-manager.php:991
744
  msgid "City"
745
  msgstr ""
746
 
747
- #: ../classes/class-ccf-form-manager.php:974
748
  msgid "State"
749
  msgstr ""
750
 
751
- #: ../classes/class-ccf-form-manager.php:978
752
  msgid "ZIP Code"
753
  msgstr ""
754
 
755
- #: ../classes/class-ccf-form-manager.php:995
756
  msgid "State / Region / Province"
757
  msgstr ""
758
 
759
- #: ../classes/class-ccf-form-manager.php:999
760
  msgid "ZIP / Postal Code"
761
  msgstr ""
762
 
763
- #: ../classes/class-ccf-form-manager.php:1007
764
  msgid "Country"
765
  msgstr ""
766
 
767
- #: ../classes/class-ccf-form-manager.php:1015
768
  msgid "email@example.com"
769
  msgstr ""
770
 
771
- #: ../classes/class-ccf-form-manager.php:1019
772
- #: ../classes/class-ccf-form-manager.php:1300
773
  msgid "Email"
774
  msgstr ""
775
 
776
- #: ../classes/class-ccf-form-manager.php:1023
777
  msgid "Confirm Email"
778
  msgstr ""
779
 
780
- #: ../classes/class-ccf-form-manager.php:1044
781
  msgid "Edit"
782
  msgstr ""
783
 
784
- #: ../classes/class-ccf-form-manager.php:1046
785
  msgid "Trash"
786
  msgstr ""
787
 
788
- #: ../classes/class-ccf-form-manager.php:1089
789
  msgid "There is a problem with this form. Is it trashed or deleted?"
790
  msgstr ""
791
 
792
- #: ../classes/class-ccf-form-manager.php:1233
793
  msgid "There are no submissions."
794
  msgstr ""
795
 
796
- #: ../classes/class-ccf-form-manager.php:1262
797
  msgid "Add Form"
798
  msgstr ""
799
 
800
- #: ../classes/class-ccf-form-manager.php:1286
801
  msgid "Single Line Text"
802
  msgstr ""
803
 
804
- #: ../classes/class-ccf-form-manager.php:1287
805
  msgid "Dropdown"
806
  msgstr ""
807
 
808
- #: ../classes/class-ccf-form-manager.php:1288
809
  msgid "Checkboxes"
810
  msgstr ""
811
 
812
- #: ../classes/class-ccf-form-manager.php:1289
813
  msgid "Radio Buttons"
814
  msgstr ""
815
 
816
- #: ../classes/class-ccf-form-manager.php:1290
817
  msgid "Paragraph Text"
818
  msgstr ""
819
 
820
- #: ../classes/class-ccf-form-manager.php:1291
821
  msgid "Hidden"
822
  msgstr ""
823
 
824
- #: ../classes/class-ccf-form-manager.php:1295
825
  msgid "HTML"
826
  msgstr ""
827
 
828
- #: ../classes/class-ccf-form-manager.php:1296
829
  msgid "Section Header"
830
  msgstr ""
831
 
832
- #: ../classes/class-ccf-form-manager.php:1301
833
  msgid "Name"
834
  msgstr ""
835
 
836
- #: ../classes/class-ccf-form-manager.php:1302
837
  msgid "Date/Time"
838
  msgstr ""
839
 
840
- #: ../classes/class-ccf-form-manager.php:1303
841
  msgid "Website"
842
  msgstr ""
843
 
844
- #: ../classes/class-ccf-form-manager.php:1304
845
  msgid "Address"
846
  msgstr ""
847
 
848
- #: ../classes/class-ccf-form-manager.php:1305
849
  msgid "Phone"
850
  msgstr ""
851
 
852
- #: ../classes/class-ccf-form-manager.php:1306
853
  msgid "reCAPTCHA"
854
  msgstr ""
855
 
856
- #: ../classes/class-ccf-form-manager.php:1322
857
  msgid "You have no email fields"
858
  msgstr ""
859
 
860
- #: ../classes/class-ccf-form-manager.php:1323
861
  msgid "Invalid date"
862
  msgstr ""
863
 
864
- #: ../classes/class-ccf-form-manager.php:1325
865
  msgid "Form Submission"
866
  msgstr ""
867
 
868
- #: ../classes/class-ccf-form-renderer.php:59
869
  msgid "This is not a valid email address."
870
  msgstr ""
871
 
872
- #: ../classes/class-ccf-form-renderer.php:62
873
  msgid "This is not a valid phone number."
874
  msgstr ""
875
 
876
- #: ../classes/class-ccf-form-renderer.php:63
877
  msgid "This phone number is not 10 digits"
878
  msgstr ""
879
 
5
  "Project-Id-Version: Custom Contact Forms\n"
6
  "Report-Msgid-Bugs-To: https://github.com/tlovett1/editorial-access-manager/"
7
  "issues\n"
8
+ "POT-Creation-Date: 2015-01-29 10:48-0500\n"
9
+ "PO-Revision-Date: 2015-01-29 10:48-0500\n"
10
  "Last-Translator: Taylor Lovett <tlovett88@gmail.com>\n"
11
  "Language-Team: LANGUAGE <LL@li.org>\n"
12
  "Language: en\n"
67
  msgid "<a href=\"%s\">Forms and Submissions</a>"
68
  msgstr ""
69
 
70
+ #: ../classes/class-ccf-field-renderer.php:806
71
+ #: ../classes/class-ccf-field-renderer.php:827
72
+ #: ../classes/class-ccf-form-manager.php:922
73
+ #: ../classes/class-ccf-form-manager.php:943
74
  msgid "HH"
75
  msgstr ""
76
 
77
+ #: ../classes/class-ccf-field-renderer.php:810
78
+ #: ../classes/class-ccf-field-renderer.php:831
79
+ #: ../classes/class-ccf-form-manager.php:926
80
+ #: ../classes/class-ccf-form-manager.php:947
81
  msgid "MM"
82
  msgstr ""
83
 
84
+ #: ../classes/class-ccf-field-renderer.php:814
85
+ #: ../classes/class-ccf-field-renderer.php:835
86
+ #: ../classes/class-ccf-form-manager.php:930
87
+ #: ../classes/class-ccf-form-manager.php:951
88
  msgid "AM"
89
  msgstr ""
90
 
91
+ #: ../classes/class-ccf-field-renderer.php:815
92
+ #: ../classes/class-ccf-field-renderer.php:836
93
+ #: ../classes/class-ccf-form-manager.php:931
94
+ #: ../classes/class-ccf-form-manager.php:952
95
  msgid "PM"
96
  msgstr ""
97
 
98
+ #: ../classes/class-ccf-field-renderer.php:822
99
  #: ../classes/class-ccf-form-cpt.php:306
100
  #: ../classes/class-ccf-form-manager.php:223
101
  #: ../classes/class-ccf-form-manager.php:236
102
+ #: ../classes/class-ccf-form-manager.php:938
103
+ #: ../classes/class-ccf-form-manager.php:1106
104
+ #: ../classes/class-ccf-form-manager.php:1120
105
+ #: ../classes/class-ccf-form-manager.php:1248
106
  msgid "Date"
107
  msgstr ""
108
 
150
  msgstr ""
151
 
152
  #: ../classes/class-ccf-form-cpt.php:247
153
+ #: ../classes/class-ccf-form-manager.php:1048
154
  msgid "(No title)"
155
  msgstr ""
156
 
243
  #: ../classes/class-ccf-form-handler.php:279
244
  #: ../classes/class-ccf-form-handler.php:287
245
  #: ../classes/class-ccf-form-handler.php:341
246
+ #: ../classes/class-ccf-form-renderer.php:49
247
  msgid "This field is required."
248
  msgstr ""
249
 
250
  #: ../classes/class-ccf-form-handler.php:167
251
+ #: ../classes/class-ccf-form-renderer.php:56
252
  msgid "Your reCAPTCHA response was incorrect."
253
  msgstr ""
254
 
278
  msgstr ""
279
 
280
  #: ../classes/class-ccf-form-handler.php:282
281
+ #: ../classes/class-ccf-form-renderer.php:54
282
  msgid "Emails do not match."
283
  msgstr ""
284
 
291
  msgstr ""
292
 
293
  #: ../classes/class-ccf-form-handler.php:344
294
+ #: ../classes/class-ccf-form-renderer.php:63
295
  msgid "This is not a valid URL. URL's must start with http(s)://"
296
  msgstr ""
297
 
298
  #: ../classes/class-ccf-form-handler.php:372
299
  #: ../classes/class-ccf-form-handler.php:404
300
+ #: ../classes/class-ccf-form-renderer.php:50
301
  msgid "Date is required."
302
  msgstr ""
303
 
304
  #: ../classes/class-ccf-form-handler.php:375
305
  #: ../classes/class-ccf-form-handler.php:407
306
+ #: ../classes/class-ccf-form-renderer.php:61
307
  msgid "This date is not valid."
308
  msgstr ""
309
 
310
  #: ../classes/class-ccf-form-handler.php:380
311
  #: ../classes/class-ccf-form-handler.php:412
312
+ #: ../classes/class-ccf-form-renderer.php:51
313
  msgid "Hour is required."
314
  msgstr ""
315
 
316
  #: ../classes/class-ccf-form-handler.php:383
317
  #: ../classes/class-ccf-form-handler.php:415
318
+ #: ../classes/class-ccf-form-renderer.php:60
319
  msgid "This is not a valid hour."
320
  msgstr ""
321
 
322
  #: ../classes/class-ccf-form-handler.php:388
323
  #: ../classes/class-ccf-form-handler.php:420
324
+ #: ../classes/class-ccf-form-renderer.php:52
325
  msgid "Minute is required."
326
  msgstr ""
327
 
328
  #: ../classes/class-ccf-form-handler.php:391
329
  #: ../classes/class-ccf-form-handler.php:423
330
+ #: ../classes/class-ccf-form-renderer.php:62
331
  msgid "This is not a valid minute."
332
  msgstr ""
333
 
334
  #: ../classes/class-ccf-form-handler.php:396
335
  #: ../classes/class-ccf-form-handler.php:428
336
+ #: ../classes/class-ccf-form-renderer.php:53
337
  msgid "AM/PM is required."
338
  msgstr ""
339
 
347
  msgstr ""
348
 
349
  #: ../classes/class-ccf-form-handler.php:710
350
+ #: ../classes/class-ccf-form-renderer.php:116
351
  msgid "Thank you for your submission."
352
  msgstr ""
353
 
376
  msgstr ""
377
 
378
  #: ../classes/class-ccf-form-manager.php:115
379
+ #: ../classes/class-ccf-form-manager.php:1051
380
  msgid "Insert into post"
381
  msgstr ""
382
 
439
  #: ../classes/class-ccf-form-manager.php:667
440
  #: ../classes/class-ccf-form-manager.php:674
441
  #: ../classes/class-ccf-form-manager.php:721
442
+ #: ../classes/class-ccf-form-manager.php:760
443
+ #: ../classes/class-ccf-form-manager.php:799
444
  msgid "Yes"
445
  msgstr ""
446
 
455
  #: ../classes/class-ccf-form-manager.php:668
456
  #: ../classes/class-ccf-form-manager.php:675
457
  #: ../classes/class-ccf-form-manager.php:722
458
+ #: ../classes/class-ccf-form-manager.php:761
459
+ #: ../classes/class-ccf-form-manager.php:800
460
  msgid "No"
461
  msgstr ""
462
 
528
  #: ../classes/class-ccf-form-manager.php:616
529
  #: ../classes/class-ccf-form-manager.php:655
530
  #: ../classes/class-ccf-form-manager.php:715
531
+ #: ../classes/class-ccf-form-manager.php:754
532
+ #: ../classes/class-ccf-form-manager.php:793
533
  msgid "Label:"
534
  msgstr ""
535
 
552
  #: ../classes/class-ccf-form-manager.php:627
553
  #: ../classes/class-ccf-form-manager.php:665
554
  #: ../classes/class-ccf-form-manager.php:719
555
+ #: ../classes/class-ccf-form-manager.php:758
556
+ #: ../classes/class-ccf-form-manager.php:797
557
  msgid "Required:"
558
  msgstr ""
559
 
569
  #: ../classes/class-ccf-form-manager.php:593
570
  #: ../classes/class-ccf-form-manager.php:636
571
  #: ../classes/class-ccf-form-manager.php:681
572
+ #: ../classes/class-ccf-form-manager.php:735
573
+ #: ../classes/class-ccf-form-manager.php:774
574
+ #: ../classes/class-ccf-form-manager.php:813
575
  msgid "Advanced"
576
  msgstr ""
577
 
587
  #: ../classes/class-ccf-form-manager.php:596
588
  #: ../classes/class-ccf-form-manager.php:639
589
  #: ../classes/class-ccf-form-manager.php:684
590
+ #: ../classes/class-ccf-form-manager.php:738
591
+ #: ../classes/class-ccf-form-manager.php:777
592
+ #: ../classes/class-ccf-form-manager.php:816
593
  msgid "Class Name:"
594
  msgstr ""
595
 
631
  #: ../classes/class-ccf-form-manager.php:609
632
  #: ../classes/class-ccf-form-manager.php:648
633
  #: ../classes/class-ccf-form-manager.php:708
634
+ #: ../classes/class-ccf-form-manager.php:747
635
+ #: ../classes/class-ccf-form-manager.php:786
636
  msgid "Basic"
637
  msgstr ""
638
 
655
  #: ../classes/class-ccf-form-manager.php:612
656
  #: ../classes/class-ccf-form-manager.php:651
657
  #: ../classes/class-ccf-form-manager.php:711
658
+ #: ../classes/class-ccf-form-manager.php:750
659
+ #: ../classes/class-ccf-form-manager.php:789
660
  msgid "Internal Unique Slug (a-z, 0-9, -, _):"
661
  msgstr ""
662
 
698
  msgstr ""
699
 
700
  #: ../classes/class-ccf-form-manager.php:726
701
+ #: ../classes/class-ccf-form-manager.php:765
702
+ #: ../classes/class-ccf-form-manager.php:804
703
  msgid "Manage field choices:"
704
  msgstr ""
705
 
706
+ #: ../classes/class-ccf-form-manager.php:730
707
+ #: ../classes/class-ccf-form-manager.php:769
708
+ #: ../classes/class-ccf-form-manager.php:808
709
+ msgid ""
710
+ "Note: If an option does not have a \"value\", it will not be considered a "
711
+ "valid selection if the field is required. The \"value\" is what's read, "
712
+ "stored, and displayed in the submission."
713
+ msgstr ""
714
+
715
+ #: ../classes/class-ccf-form-manager.php:848
716
+ #: ../classes/class-ccf-form-manager.php:861
717
+ #: ../classes/class-ccf-form-manager.php:876
718
  msgid "An example choice"
719
  msgstr ""
720
 
721
+ #: ../classes/class-ccf-form-manager.php:891
722
  msgid "Arbitrary block of HTML."
723
  msgstr ""
724
 
725
+ #: ../classes/class-ccf-form-manager.php:897
726
  msgid "Section Heading"
727
  msgstr ""
728
 
729
+ #: ../classes/class-ccf-form-manager.php:899
730
  msgid "This is the sub-heading text."
731
  msgstr ""
732
 
733
+ #: ../classes/class-ccf-form-manager.php:906
734
  msgid "First"
735
  msgstr ""
736
 
737
+ #: ../classes/class-ccf-form-manager.php:910
738
  msgid "Last"
739
  msgstr ""
740
 
741
+ #: ../classes/class-ccf-form-manager.php:964
742
+ #: ../classes/class-ccf-form-manager.php:989
743
  msgid "Street Address"
744
  msgstr ""
745
 
746
+ #: ../classes/class-ccf-form-manager.php:968
747
+ #: ../classes/class-ccf-form-manager.php:993
748
  msgid "Address Line 2"
749
  msgstr ""
750
 
751
+ #: ../classes/class-ccf-form-manager.php:972
752
+ #: ../classes/class-ccf-form-manager.php:997
753
  msgid "City"
754
  msgstr ""
755
 
756
+ #: ../classes/class-ccf-form-manager.php:980
757
  msgid "State"
758
  msgstr ""
759
 
760
+ #: ../classes/class-ccf-form-manager.php:984
761
  msgid "ZIP Code"
762
  msgstr ""
763
 
764
+ #: ../classes/class-ccf-form-manager.php:1001
765
  msgid "State / Region / Province"
766
  msgstr ""
767
 
768
+ #: ../classes/class-ccf-form-manager.php:1005
769
  msgid "ZIP / Postal Code"
770
  msgstr ""
771
 
772
+ #: ../classes/class-ccf-form-manager.php:1013
773
  msgid "Country"
774
  msgstr ""
775
 
776
+ #: ../classes/class-ccf-form-manager.php:1021
777
  msgid "email@example.com"
778
  msgstr ""
779
 
780
+ #: ../classes/class-ccf-form-manager.php:1025
781
+ #: ../classes/class-ccf-form-manager.php:1306
782
  msgid "Email"
783
  msgstr ""
784
 
785
+ #: ../classes/class-ccf-form-manager.php:1029
786
  msgid "Confirm Email"
787
  msgstr ""
788
 
789
+ #: ../classes/class-ccf-form-manager.php:1050
790
  msgid "Edit"
791
  msgstr ""
792
 
793
+ #: ../classes/class-ccf-form-manager.php:1052
794
  msgid "Trash"
795
  msgstr ""
796
 
797
+ #: ../classes/class-ccf-form-manager.php:1095
798
  msgid "There is a problem with this form. Is it trashed or deleted?"
799
  msgstr ""
800
 
801
+ #: ../classes/class-ccf-form-manager.php:1239
802
  msgid "There are no submissions."
803
  msgstr ""
804
 
805
+ #: ../classes/class-ccf-form-manager.php:1268
806
  msgid "Add Form"
807
  msgstr ""
808
 
809
+ #: ../classes/class-ccf-form-manager.php:1292
810
  msgid "Single Line Text"
811
  msgstr ""
812
 
813
+ #: ../classes/class-ccf-form-manager.php:1293
814
  msgid "Dropdown"
815
  msgstr ""
816
 
817
+ #: ../classes/class-ccf-form-manager.php:1294
818
  msgid "Checkboxes"
819
  msgstr ""
820
 
821
+ #: ../classes/class-ccf-form-manager.php:1295
822
  msgid "Radio Buttons"
823
  msgstr ""
824
 
825
+ #: ../classes/class-ccf-form-manager.php:1296
826
  msgid "Paragraph Text"
827
  msgstr ""
828
 
829
+ #: ../classes/class-ccf-form-manager.php:1297
830
  msgid "Hidden"
831
  msgstr ""
832
 
833
+ #: ../classes/class-ccf-form-manager.php:1301
834
  msgid "HTML"
835
  msgstr ""
836
 
837
+ #: ../classes/class-ccf-form-manager.php:1302
838
  msgid "Section Header"
839
  msgstr ""
840
 
841
+ #: ../classes/class-ccf-form-manager.php:1307
842
  msgid "Name"
843
  msgstr ""
844
 
845
+ #: ../classes/class-ccf-form-manager.php:1308
846
  msgid "Date/Time"
847
  msgstr ""
848
 
849
+ #: ../classes/class-ccf-form-manager.php:1309
850
  msgid "Website"
851
  msgstr ""
852
 
853
+ #: ../classes/class-ccf-form-manager.php:1310
854
  msgid "Address"
855
  msgstr ""
856
 
857
+ #: ../classes/class-ccf-form-manager.php:1311
858
  msgid "Phone"
859
  msgstr ""
860
 
861
+ #: ../classes/class-ccf-form-manager.php:1312
862
  msgid "reCAPTCHA"
863
  msgstr ""
864
 
865
+ #: ../classes/class-ccf-form-manager.php:1328
866
  msgid "You have no email fields"
867
  msgstr ""
868
 
869
+ #: ../classes/class-ccf-form-manager.php:1329
870
  msgid "Invalid date"
871
  msgstr ""
872
 
873
+ #: ../classes/class-ccf-form-manager.php:1331
874
  msgid "Form Submission"
875
  msgstr ""
876
 
877
+ #: ../classes/class-ccf-form-renderer.php:55
878
  msgid "This is not a valid email address."
879
  msgstr ""
880
 
881
+ #: ../classes/class-ccf-form-renderer.php:58
882
  msgid "This is not a valid phone number."
883
  msgstr ""
884
 
885
+ #: ../classes/class-ccf-form-renderer.php:59
886
  msgid "This phone number is not 10 digits"
887
  msgstr ""
888
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: contact form, web form, custom contact form, custom forms, captcha form, contact fields, form mailers, forms
5
  Requires at least: 3.9
6
  Tested up to: 4.1
7
- Stable tag: 6.3.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -35,6 +35,12 @@ For questions, feature requests, and support concerning the Custom Contact Forms
35
 
36
  == Changelog ==
37
 
 
 
 
 
 
 
38
  = 6.3.3 =
39
  * Fix address bug where line two was required
40
  * Add starting QUnit tests
4
  Tags: contact form, web form, custom contact form, custom forms, captcha form, contact fields, form mailers, forms
5
  Requires at least: 3.9
6
  Tested up to: 4.1
7
+ Stable tag: 6.3.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
35
 
36
  == Changelog ==
37
 
38
+ = 6.3.4 =
39
+ * Re-add PHP function to server form via PHP
40
+ * Don't escape form title since it is already escaped
41
+ * Fix notice sent because of missing hidden field validator
42
+ * Remove overflow: auto from fields. Instead use clearing div
43
+
44
  = 6.3.3 =
45
  * Fix address bug where line two was required
46
  * Add starting QUnit tests