is_entry_detail(); $is_form_editor = $this->is_form_editor(); $id = (int) $this->id; $field_id = $is_entry_detail || $is_form_editor || $form_id == 0 ? "input_$id" : 'input_' . $form_id . "_$id"; $currency = $is_entry_detail && ! empty( $entry ) ? $entry['currency'] : ''; $price = ! empty( $value ) ? $value : $this->basePrice; if ( empty( $price ) ) { $price = 0; } $price = esc_attr( GFCommon::to_money( $price ) ); return "