<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}
$fallback_messages = SFTCY_Wordform::wordform_default_validation_messages();
?>
<!-- Input field validation messages  -->
<tr>
	<td colspan="2">
		<h4><span class="dashicons dashicons-marker"></span> <?php esc_html_e( 'Input Field Validation Messages', 'wordform-pro' ); ?></h4>   					
	</td>
</tr>

<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
			<i class="fa-sharp fa-regular fa-address-card"></i>
			<?php esc_html_e( 'Name', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['text-msg'] ) ? esc_attr( $validation_messages['text-msg'] ) : esc_attr( $fallback_messages['text-msg'] ); ?>" name="text-msg" class="sc-wordform-validation-text-msg" />				
	</td>   				
</tr>

<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
			<i class="fa-sharp fa-solid fa-arrow-up-1-9"></i>
			<?php esc_html_e( 'Number', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['number-msg'] ) ? esc_attr( $validation_messages['number-msg'] ) : esc_attr( $fallback_messages['number-msg'] ); ?>" name="number-msg" class="sc-wordform-validation-number-msg" />				
	</td>   				
</tr>

<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
			<i class="fa-sharp fa-solid fa-text-width"></i>
			<?php esc_html_e( 'Description', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['textarea-msg'] ) ? esc_attr( $validation_messages['textarea-msg'] ) : esc_attr( $fallback_messages['textarea-msg'] ); ?>" name="textarea-msg" class="sc-wordform-validation-textarea-msg" />				
	</td>   				
</tr>

<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
			<i class="fa-solid fa-sliders"></i>
			<?php esc_html_e( 'Range Slider', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['range-msg'] ) ? esc_attr( $validation_messages['range-msg'] ) : esc_attr( $fallback_messages['range-msg'] ); ?>" name="range-msg" class="sc-wordform-validation-range-msg" />				
	</td>   				
</tr>

<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
			<i class="fa-solid fa-link"></i>
			<?php esc_html_e( 'URL', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['url-msg'] ) ? esc_attr( $validation_messages['url-msg'] ) : esc_attr( $fallback_messages['url-msg'] ); ?>" name="url-msg" class="sc-wordform-validation-url-msg" />				
	</td>   				
</tr>

<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
			<i class="fa fa-phone"></i>
			<?php esc_html_e( 'Tel', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['tel-msg'] ) ? esc_attr( $validation_messages['tel-msg'] ) : esc_attr( $fallback_messages['tel-msg'] ); ?>" name="tel-msg" class="sc-wordform-validation-tel-msg" />				
	</td>   				
</tr>

<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
			<i class="fa fa-calendar"></i>
			<?php esc_html_e( 'Date', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['date-msg'] ) ? esc_attr( $validation_messages['date-msg'] ) : esc_attr( $fallback_messages['date-msg'] ); ?>" name="date-msg" class="sc-wordform-validation-date-msg" />				
	</td>   				
</tr>


<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
			<i class="fa-sharp fa-solid fa-square-caret-down"></i>
			<?php esc_html_e( 'Dropdown options', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['select-msg'] ) ? esc_attr( $validation_messages['select-msg'] ) : esc_attr( $fallback_messages['select-msg'] ); ?>" name="select-msg" class="sc-wordform-validation-select-msg" />				
	</td>   				
</tr>

<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
			<i class="fa-sharp fa-solid fa-square-check"></i>
			<?php esc_html_e( 'Checkboxes', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['checkbox-msg'] ) ? esc_attr( $validation_messages['checkbox-msg'] ) : esc_attr( $fallback_messages['checkbox-msg'] ); ?>" name="checkbox-msg" class="sc-wordform-validation-checkbox-msg" />				
	</td>   				
</tr>

<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
			<i class="fa-sharp fa-regular fa-circle-dot"></i>
			<?php esc_html_e( 'Multiple Choice', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['radio-msg'] ) ? esc_attr( $validation_messages['radio-msg'] ) : esc_attr( $fallback_messages['radio-msg'] ); ?>" name="radio-msg" class="sc-wordform-validation-radio-msg" />				
	</td>   				
</tr>


<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
			<i class="fa-sharp fa-solid fa-at"></i>
			<?php esc_html_e( 'Email', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['email-msg'] ) ? esc_attr( $validation_messages['email-msg'] ) : esc_attr( $fallback_messages['email-msg'] ); ?>" name="email-msg" class="sc-wordform-validation-email-msg" />				
	</td>   				
</tr>

<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
			<i class="fa-solid fa-shield"></i>
			<?php esc_html_e( 'Numeric Captcha[Empty]', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['captcha-empty-msg'] ) ? esc_attr( $validation_messages['captcha-empty-msg'] ) : esc_attr( $fallback_messages['captcha-empty-msg'] ); ?>" name="captcha-empty-msg" class="sc-wordform-validation-captcha-empty-msg" />				
	</td>   				
</tr>

<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
			<i class="fa-solid fa-shield"></i>
			<?php esc_html_e( 'Numeric Captcha[Wrong]', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['captcha-wrong-msg'] ) ? esc_attr( $validation_messages['captcha-wrong-msg'] ) : esc_attr( $fallback_messages['captcha-wrong-msg'] ); ?>" name="captcha-wrong-msg" class="sc-wordform-validation-captcha-wrong-msg" />				
	</td>   				
</tr>

<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
			<i class="fa-solid fa-shield"></i>
			<?php esc_html_e( 'Numeric Captcha[Expire]', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['captcha-expire-msg'] ) ? esc_attr( $validation_messages['captcha-expire-msg'] ) : esc_attr( $fallback_messages['captcha-expire-msg'] ); ?>" name="captcha-expire-msg" class="sc-wordform-validation-captcha-expire-msg" />				
	</td>   				
</tr>


<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
		<i class="fa-solid fa-upload"></i>
			<?php esc_html_e( 'Upload[Required]', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['upload-required-msg'] ) ? esc_attr( $validation_messages['upload-required-msg'] ) : esc_attr( $fallback_messages['upload-required-msg'] ); ?>" name="captcha-expire-msg" class="sc-wordform-validation-upload-required-msg" />				
	</td>   				
</tr>

<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
		<i class="fa-solid fa-upload"></i>
			<?php esc_html_e( 'Upload[File Type Allow]', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['upload-allow-msg'] ) ? esc_attr( $validation_messages['upload-allow-msg'] ) : esc_attr( $fallback_messages['upload-allow-msg'] ); ?>" name="upload-allow-msg" class="sc-wordform-validation-upload-allow-msg" />				
	</td>   				
</tr>

<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
		<i class="fa-solid fa-upload"></i>
			<?php esc_html_e( 'Upload[Individual File Size Exceed]', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['upload-size-msg'] ) ? esc_attr( $validation_messages['upload-size-msg'] ) : esc_attr( $fallback_messages['upload-size-msg'] ); ?>" name="upload-size-msg" class="sc-wordform-validation-upload-size-msg" />				
	</td>   				
</tr>

<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
		<i class="fa-solid fa-upload"></i>
			<?php esc_html_e( 'Upload[All Files Size Exceed]', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['upload-allsize-msg'] ) ? esc_attr( $validation_messages['upload-allsize-msg'] ) : esc_attr( $fallback_messages['upload-allsize-msg'] ); ?>" name="upload-allsize-msg" class="sc-wordform-validation-upload-allsize-msg" />				
	</td>   				
</tr>

<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
		<i class="fa-solid fa-upload"></i>
			<?php esc_html_e( 'Upload[Max Number of Files Exceed]', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['upload-maxinput-msg'] ) ? esc_attr( $validation_messages['upload-maxinput-msg'] ) : esc_attr( $fallback_messages['upload-maxinput-msg'] ); ?>" name="upload-maxinput-msg" class="sc-wordform-validation-upload-maxinput-msg" />				
	</td>   				
</tr>

<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
		<i class="fa-solid fa-upload"></i>
			<?php esc_html_e( 'Upload[File Already Selected Once]', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['upload-filealready-added-msg'] ) ? esc_attr( $validation_messages['upload-filealready-added-msg'] ) : esc_attr( $fallback_messages['upload-filealready-added-msg'] ); ?>" name="upload-filealready-added-msg" class="sc-wordform-validation-upload-filealready-added-msg" />				
	</td>   				
</tr>


<tr>
	<td colspan="2">
		<hr/>
	</td>
</tr>


<!-- Form submission Messages -->
<tr>
	<td colspan="2">
		<h4><span class="dashicons dashicons-marker"></span> <?php esc_html_e( 'Form submission Messages', 'wordform-pro' ); ?></h4>   					
	</td>
</tr>

<tr>
	<td class="sc-wordform-settings-validation-tab-label-td">
		<h4>
			<i class="fa-solid fa-check-double"></i>
			<?php esc_html_e( 'Form Submission Success', 'wordform-pro' ); ?>
		</h4>   					
	</td>
	<td>   	
		<input type="text" value="<?php echo isset( $validation_messages['form-submission-success-msg'] ) ? esc_attr( $validation_messages['form-submission-success-msg'] ) : esc_attr( $fallback_messages['form-submission-success-msg'] ); ?>" name="form-submission-success-msg" class="sc-wordform-form-submission-success-msg" />				
	</td>   				
</tr>
