PATH:
home
/
letacommog
/
rdvenunclick.fr1
/
wp-content
/
plugins
/
weforms
/
includes
/
templates
<?php /** * A simple contact form for sending message */ class WeForms_Template_Polling_Form extends WeForms_Form_Template { public function __construct() { parent::__construct(); $this->enabled = class_exists( 'WeForms_Pro' ); $this->title = __( 'Polling Form', 'weforms' ); $this->description = ''; $this->category = 'default'; $this->image = WEFORMS_ASSET_URI . '/images/form-template/polling_form.png'; $this->category = 'feedback'; } /** * Get the form fields * * @return array */ public function get_form_fields() { $all_fields = $this->get_available_fields(); $form_fields = [ array_merge( $all_fields['radio_field']->get_field_props(), [ 'required' => 'yes', 'label' => 'Poll Question', 'name' => 'poll_field', ] ), ]; return $form_fields; } /** * Get the form settings * * @return array */ public function get_form_settings() { $defaults = $this->get_default_settings(); return array_merge( $defaults, [ 'message' => __( 'Thanks for taking part in the poll!', 'weforms' ), 'submit_text' => __( 'Submit', 'weforms' ), 'label_position' => 'left', ] ); } }
[+]
..
[-] class-template-leave-request.php
[edit]
[-] class-template-patient-itake-form.php
[edit]
[-] class-template-contact.php
[edit]
[-] class-template-polling-form.php
[edit]
[-] class-template-real-estate-listing.php
[edit]
[-] class-template-blank.php
[edit]
[-] class-template-conference-proposal.php
[edit]
[-] class-template-volunteer-application.php
[edit]
[-] class-template-event-registration.php
[edit]
[-] class-template-restaurant-reservation.php
[edit]
[-] class-template-my-directory-information.php
[edit]
[+]
dokan
[-] class-template-admission-form.php
[edit]
[-] class-template-website-feedback-form.php
[edit]
[-] class-template-to-do-list.php
[edit]
[-] class-template-export-data-request.php
[edit]
[-] class-template-comment-and-rating.php
[edit]
[-] class-template-support.php
[edit]
[-] class-template-job-application.php
[edit]
[-] class-template-product-order-form.php
[edit]
[-] class-template-tell-a-friend.php
[edit]
[-] class-template-donation-form.php
[edit]
[-] class-abstract-template.php
[edit]
[-] class-template-delete-data-request.php
[edit]
[-] class-template-request-for-quote.php
[edit]
[-] class-template-online-booking-form.php
[edit]
[-] class-template-job-listing.php
[edit]
[-] class-template-bug-report.php
[edit]
[-] class-template-loan-application-form.php
[edit]
[-] class-template-employee-information.php
[edit]