Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class GF_Field_Attendees extends GF_Field {
- public $type = 'attendees';
- public function get_form_editor_field_title() {
- return esc_attr__( 'Attendees', 'gravityforms' );
- }
- public function get_form_editor_button() {
- return array(
- 'group' => 'advanced_fields',
- 'text' => $this->get_form_editor_field_title(),
- );
- }
- public function get_form_editor_field_settings() {
- return array(
- 'conditional_logic_field_setting',
- 'prepopulate_field_setting',
- 'error_message_setting',
- 'label_setting',
- 'admin_label_setting',
- 'rules_setting',
- 'duplicate_setting',
- 'description_setting',
- 'css_class_setting',
- );
- }
- public function is_conditional_logic_supported() {
- return true;
- }
- public function get_field_input( $form, $value = '', $entry = null ) {
- $is_entry_detail = $this->is_entry_detail(
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement