PageSourceSearch

https://presbytere-de-grace-honfleur.fr/wp-content/plugins/booking-calendar-com/inc/js/personal.js?ver=10.14.1

js presbytere-de-grace-honfleur.fr collected 2026-10-07 16:35:49 UTC 76,013 bytes, 1,177 lines download raw bytes

1(function () {
2	var a = setInterval( function () {
3		if ( ('undefined' === typeof jQuery) || !window.jQuery ) {
4			return;
5		}
6		clearInterval( a );
7		// Here can  be executed jQuery functions
8		jQuery( document ).ready( function () {
9			// Here is my code start
10			if ( jQuery( '.wpdev-validates-as-time' ).length > 0 ) {
11				jQuery( '.wpdev-validates-as-time' ).attr( 'alt', 'time' );
12				jQuery( '.wpdev-validates-as-time' ).setMask();
13			}
14		} );
15	}, 500 );
16})();
17
18/**
19 mask0.destroy();
20var mask0 = IMask(temp1, {    mask: 'HH:MM PM',
21  lazy: false,  // make placeholder always visible
22
23  blocks: {
24    MM: {
25      mask: IMask.MaskedRange,
26      from: 0,
27      to: 59
28
29    },
30    HH: {
31      mask: IMask.MaskedRange,
32      from: 0,
33      to: 12
34    },
35
36    PM: {
37      mask: IMask.MaskedEnum,
38      enum: ['AM', 'PM']
39    }
40  }  });
41 */
42
43// ---------------------------------------------------------------------------------------------------------------------
44
45// Send booking Cancel by visitor
46function wpbc_customer_action__booking_cancel( booking_hash, bk_type, wpdev_active_locale ){
47
48    if ( booking_hash != '' ){
49
50        wpbc__spin_loader__mini__show( 'submiting' + bk_type, {  'show_here': { 'where': 'inside', 'jq_node': '#submiting' + bk_type }  } );
51
52        var ajax_type_action='DELETE_BY_VISITOR';
53
54        jQuery.ajax({                                           // Start Ajax Sending
55            url: wpbc_url_ajax,
56            type:'POST',
57            success: function (data, textStatus){if( textStatus == 'success')   jQuery('#ajax_respond_insert' + bk_type).html( data ) ;},
58            error:function (XMLHttpRequest, textStatus, errorThrown){window.status = 'Ajax sending Error status:'+ textStatus;alert(XMLHttpRequest.status + ' ' + XMLHttpRequest.statusText);if (XMLHttpRequest.status == 500) {alert('Please check at this page according this error:' + ' https://wpbookingcalendar.com/faq/#ajax-sending-error');}},
59            // beforeSend: someFunction,
60            data:{
61                // ajax_action : ajax_type_action,
62                action : ajax_type_action,
63                booking_hash : booking_hash,
64                bk_type : bk_type,
65                wpdev_active_locale:wpdev_active_locale,
66                wpbc_nonce: document.getElementById('wpbc_nonce_delete'+bk_type).value 
67            }
68        });
69        return false;
70    }
71    return true;
72}
73
74// ---------------------------------------------------------------------------------------------------------------------
75
76/**
77 * Set checkbox in booking form Exclusive on click
78 *
79 * @param element
80 */
81function wpbc_in_form__make_exclusive_checkbox( element ){
82    var is_checked = jQuery( element ).is( ':checked' );                            // FixIn: 10.1.5.1.
83    jQuery( '[name="' + element.name + '"]' ).prop( "checked", false );             // Uncheck  all checkboxes with  this name
84    element.checked = is_checked;
85}
86
87/**
88 * Set select-box with multiple selections - Exclusive
89 * @param element
90 */
91function wpbc_in_form__make_exclusive_selectbox( element ){
92
93    // Get all selected elements.
94    var selectedOptions = jQuery.find( '[name="' + element.name + '"] option:selected' );
95
96    // Check if we have more than 1 selection
97    if ( selectedOptions.length > 1 ){
98
99        var ind = selectedOptions[ 0 ].index;                                             // Get index of the first  selected element
100        jQuery( '[name="' + element.name + '"] option' ).prop( "selected", false );             // Uncheck  all checkboxes with  this name
101        jQuery( '[name="' + element.name + '"] option:eq(' + ind + ')' ).prop( "selected", true );  // Set the first element selected
102    }
103}
104
105// ---------------------------------------------------------------------------------------------------------------------
106                                                                                                                        // FixIn: 9.6.3.5.
107
108function wpbc_reset__form_configuration(type) {
109
110    var editor_textarea_id = 'booking_form';
111    var editor_textarea_content = wpbc_reset__get_form_configuration( type );
112
113    // FixIn: 8.4.7.18.
114    if  ( (typeof WPBC_CM !== 'undefined') && ( WPBC_CM.is_defined( '#' + editor_textarea_id ) ) ){
115
116        WPBC_CM.set_codemirror_value( '#' + editor_textarea_id , editor_textarea_content );
117
118    } else {
119
120        if ( typeof tinymce != "undefined" ){
121            var editor = tinymce.get( editor_textarea_id );
122            if ( editor && editor instanceof tinymce.Editor ){
123                editor.setContent( editor_textarea_content );
124                editor.save( {no_events: true} );
125            } else {
126                jQuery( '#' + editor_textarea_id ).val( editor_textarea_content );
127            }
128        } else {
129            jQuery( '#' + editor_textarea_id ).val( editor_textarea_content );
130        }
131    }
132}
133
134function wpbc_reset__form_data(type) {
135
136    var editor_textarea_id = 'booking_form_show';
137    var editor_textarea_content = wpbc_reset__get_form_data(type);
138
139    // FixIn: 8.4.7.18.
140    if  ( (typeof WPBC_CM !== 'undefined') && ( WPBC_CM.is_defined( '#' + editor_textarea_id ) ) ){
141
142        WPBC_CM.set_codemirror_value( '#' + editor_textarea_id , editor_textarea_content );
143    } else {
144
145
146        if( typeof tinymce != "undefined" ) {
147            var editor = tinymce.get( editor_textarea_id );
148            if( editor && editor instanceof tinymce.Editor ) {
149                editor.setContent( editor_textarea_content );
150                editor.save( { no_events: true } );
151            } else {
152                jQuery( '#' + editor_textarea_id ).val( editor_textarea_content );
153            }
154        } else {
155            jQuery( '#' + editor_textarea_id ).val( editor_textarea_content );
156        }
157    }
158}
159
160function wpbc_reset__get_form_configuration( form_type ) {
161    var form_content = '';
162	// FixIn: 10.12.4.9.
163    if ( wpbc_in_array( ['wizard_no_times_a'], form_type ) ) {
164        // FixIn: 8.6.1.15.
165		form_content = '<style type="text/css">.wpbc_container_booking_form .wpbc__field .wpbc_calendar_wraper:has(.cal_month_num_1){width:auto;} .wpbc_hints{float: right;margin: 10px;}</style>';
166        form_content +='<!--  Simple HTML shortcodes in the form (check more at "Generate Tag" section): \n';
167        form_content +='      Row: <r>...</r> | Columns: <c>...</c> | Labels: <l>...</l> | Spacer: <spacer></spacer> --> \n';
168        form_content +='<div class="wpbc_wizard__border_container"> \n';
169        form_content +='<div class="wpbc_wizard_step wpbc__form__div wpbc_wizard_step1"> \n';
170        form_content +='		<r> \n';
171        form_content +='			<c> [calendar] \n';
172        if ( 'function' === typeof( wpbc_show_day_cost_in_date_bottom ) ){                                              // >= biz_m
173            form_content += '		    <div class="wpbc_hints"> \n';
174            form_content += '				Dates: <strong>[selected_short_timedates_hint]</strong> \n';
175            form_content += '				([nights_number_hint] - night(s))<br> \n';
176            form_content += '				Full cost of the booking: <strong>[cost_hint]</strong> <br> \n';
177            form_content += '			</div> \n';
178        }
179        form_content +='			</c> \n';
180        form_content +='		</r> <hr> \n';
181        form_content +='		<r> \n';
182        form_content +='			<div class="wpbc__field" style="justify-content: flex-end;"> \n';
183        form_content +='     			<a class="wpbc_button_light wpbc_wizard_step_button wpbc_wizard_step_2" > \n';
184        form_content +='				Next \n';
185        form_content +='				</a> \n';
186        form_content +='			</div> \n';
187        form_content +='		</r> \n';
188        form_content +='</div> \n';
189        form_content +='<div class="wpbc_wizard_step wpbc__form__div wpbc_wizard_step2 wpbc_wizard_step_hidden" style="display:none;clear:both;"> \n';
190        form_content +='	<r> \n';
191        form_content +='		<c> <l>First Name (required):</l><br />[text* name] </c> \n';
192        form_content +='		<c> <l>Last Name (required):</l><br />[text* secondname] </c> \n';
193        form_content +='	</r> \n';
194        form_content +='	<r> \n';
195        form_content +='		<c> <l>Email (required):</l><br />[email* email] </c> \n';
196        form_content +='		<c> <l>Phone:</l><br />[text phone] </c> \n';
197        form_content +='	</r> \n';
198        form_content +='	<r> \n';
199        form_content +='		<c> <l>Adults:</l><br />[selectbox visitors "1" "2" "3" "4" "5"] </c> \n';
200        form_content +='		<c> <l>Children:</l><br />[selectbox children "0" "1" "2" "3"] </c>
200 \n';
201        form_content +='	</r> \n';
202        form_content +='	<r> \n';
203        form_content +='		<c> <l>Details:</l><spacer></spacer> \n';
204        form_content +='			[textarea details] </c> \n';
205        form_content +='	</r> \n';
206        form_content +='	<spacer>height:10px;</spacer> \n';
207        form_content +='	<r> \n';
208        form_content +='		<c> [checkbox* term_and_condition use_label_element "I Accept term and conditions"] </c> \n';
209        form_content +='		<c> [captcha] </c> \n';
210        form_content +='	</r> \n';
211        if ( 'function' === typeof( wpbc_show_day_cost_in_date_bottom ) ){                                              // >= biz_m
212            form_content += '	<r> \n';
213            form_content += '		<c><div class="form-hints"> \n';
214            form_content += '			Dates: <strong>[selected_short_timedates_hint]</strong> \n';
215            form_content += '			([nights_number_hint] - night(s))<br> \n';
216            form_content += '			Full cost of the booking: <strong>[cost_hint]</strong> <br> \n';
217            form_content += '		</div></c> \n';
218            form_content += '	</r> \n';
219        }
220        form_content +='	<hr> \n';
221        form_content +='	<r> \n';
222        form_content +='		<div class="wpbc__field" style="justify-content: flex-end;"> \n';
223        form_content +='			<a class="wpbc_button_light wpbc_wizard_step_button wpbc_wizard_step_1">Back</a>&nbsp;&nbsp;&nbsp; \n';
224        form_content +='			[submit "Send"] \n';
225        form_content +='		</div> \n';
226        form_content +='	</r> \n';
227        form_content +='</div> \n';
228        form_content +='</div> \n';
229    }
230	// FixIn: 10.12.4.8.
231	if ( wpbc_in_array( ['appointments_service_c'], form_type ) ) {
232		form_content +='<!--  Simple HTML shortcodes in the form (check more at "Generate Tag" section): \n';
233		form_content +='      Row: <r>...</r> | Columns: <c>...</c> | Labels: <l>...</l> | Spacer: <spacer></spacer> --> \n';
234		form_content +='<div class="wpbc_wizard__border_container"> \n';
235		form_content +='	<div class="wpbc_wizard_step wpbc__form__div wpbc_wizard_step1"> \n';
236		form_content +='		<r> \n';
237		form_content +='		 <c style="flex: 1 1 160px;padding-right: 20px;margin: 12px 0;border-right: 1px solid #ccc;align-self: stretch;"> \n';
238		form_content +='			 <r> \n';
239		form_content +='				<c> \n';
240		form_content +='				<l>Select Service *</l><br /><spacer>height:22px;</spacer> \n';
241		form_content +='				[selectbox durationtime "Service A (20 min)@@00:20" "Service B (30 min)@@00:30" "Service C (45 min)@@00:45" "Service D (1 hour)@@01:00"]<spacer style="height:100%;"></spacer> \n';
242		form_content +='					</c> \n';
243		form_content +='			 </r> \n';
244		form_content +='		</c> \n';
245		form_content +='		<c style="flex: 1 1 70%;"> \n';
246		form_content +='			<r style="gap: 30px;"> \n';
247		form_content +='				<c style="flex: 1 1 220px;">  <l>Select Date *</l><br /><spacer>height:18px;</spacer>  [calendar] </c> \n';
248		form_content +='				<c style="flex: 1 1 190px;">  <l>Select Times *</l><br /><spacer>height:20px;</spacer> \n';
249		form_content +='			    [selectbox starttime "09:00" "09:30" "10:00" "10:30" "11:00" "11:30" "12:00" "12:30" "13:00" "13:30" "14:00" "14:30" "15:00" "15:30" "16:00" "16:30" "17:00" "17:30" "18:00"] \n';
250		form_content +='				</c> \n';
251		form_content +='			</r> \n';
252		form_content +='		</c> \n';
253		form_content +='		</r> \n';
254		if ( 'function' === typeof( wpbc_show_day_cost_in_date_bottom ) ) {                                              // >= biz_m
255			form_content += '		<r> <c> \n';
256			form_content += '				<div class="form-hints"> \n';
257			form_content += '				Date: &nbsp;<strong>[selected_dates_hint]</strong><spacer>width:2em;</spacer> \n';
258			form_content += '			   	Time: &nbsp;<strong>[start_time_hint] - [end_time_hint]</strong> \n';
259			form_content += '				</div> \n';
260			form_content += '			</c> \n';
261			form_content += '			<c>Total Cost: &nbsp;<strong>[cost_hint]</strong></c> \n';
262			form_content += '	    </r> \n';
263		}
264		form_content +='	    <hr> \n';
265		form_content +='		<r> \n';
266		form_content +='			<c class="wpbc_aling_right" > \n';
267		form_content +='     			<a class="wpbc_button_light wpbc_wizard_step_button wpbc_wizard_step_2" > \n';
268		form_content +='					Next</a> \n';
269		form_content +='			</c> \n';
270		form_content +='		</r> \n';
271		form_content +='	</div> \n';
272		form_content +='	<div class="wpbc_wizard_step wpbc__form__div wpbc_wizard_step2 wpbc_wizard_step_hidden" style="display:none;clear:both;"> \n';
273		form_content +='	<r> \n';
274		form_content +='		<c> <l>First Name *</l><br />[text* name] </c> \n';
275		form_content +='		<c> <l>Last Name *</l><br />[text* secondname] </c> \n';
276		form_content +='	</r> \n';
277		form_content +='	<r> \n';
278		form_content +='		<c> <l>Email *</l><br />[email* email] </c> \n';
279		form_content +='		<c> <l>Phone</l><br />[text phone] </c> \n';
280		form_content +='	</r> \n';
281		form_content +='	<r> \n';
282		form_content +='		<c> <l>
282Details</l><spacer></spacer> \n';
283		form_content +='			[textarea details] </c> \n';
284		form_content +='	</r> \n';
285		form_content +='	<spacer>height:10px;</spacer> \n';
286		form_content +='	<r> \n';
287		form_content +='		<c> [checkbox* term_and_condition use_label_element "I Accept term and conditions"] </c> \n';
288		form_content +='		<c> [captcha] </c> \n';
289		form_content +='	</r> \n';
290		if ( 'function' === typeof( wpbc_show_day_cost_in_date_bottom ) ) {                                              // >= biz_m
291			form_content +='	<r> <c> \n';
292			form_content +='			<div class="form-hints"> \n';
293			form_content +='				Date: &nbsp;<strong>[selected_dates_hint]</strong><spacer>width:2em;</spacer> \n';
294			form_content +='			   	Time: &nbsp;<strong>[start_time_hint] - [end_time_hint]</strong> \n';
295			form_content +='			</div> \n';
296			form_content +='		</c> \n';
297			form_content +='		<c>Total Cost: &nbsp;<strong>[cost_hint]</strong></c> \n';
298			form_content +='	</r> \n';
299		}
300		form_content +='	<hr> \n';
301		form_content +='	<r> \n';
302		form_content +='		<c class="wpbc_aling_right" > \n';
303		form_content +='			<a class="wpbc_button_light wpbc_wizard_step_button wpbc_wizard_step_1"> \n';
304		form_content +='				Back</a><spacer>width:20px;</spacer> \n';
305		form_content +='			[submit "Send"] \n';
306		form_content +='		</c> \n';
307		form_content +='	</r> \n';
308		form_content +='	</div> \n';
309		form_content +='</div> \n';
310	}
311    // FixIn: 10.9.6.5.
312    if ( wpbc_in_array( ['appointments_service_a'], form_type ) ) {
313        form_content +='<!--  Simple HTML shortcodes in the form (check more at "Generate Tag" section): \n';
314        form_content +='      Row: <r>...</r> | Columns: <c>...</c> | Labels: <l>...</l> | Spacer: <spacer></spacer> --> \n';
315        form_content +='<div class="wpbc_wizard__border_container"> \n';
316        form_content +='	<div class="wpbc_wizard_step wpbc__form__div wpbc_wizard_step1"> \n';
317        form_content +='		[steps_timline steps_count="3" active_step="1"] \n';
318        form_content +='		<r> \n';
319        form_content +='		 <c class="wpbc_aling_center"> \n';
320        form_content +='			<l>Select Service *</l><br /><spacer>height:20px;</spacer> \n';
321        form_content +='			[selectbox durationtime "Service A (20 min)@@00:20" "Service B (30 min)@@00:30" "Service C (45 min)@@00:45" "Service D (1 hour)@@01:00"]<spacer>height:15px;</spacer> \n';
322        form_content +='		</c> \n';
323        form_content +='		</r> \n';
324        form_content +='	    <hr><r> \n';
325        form_content +='			<c class="wpbc_aling_right" > \n';
326        form_content +='     			<a class="wpbc_button_light wpbc_wizard_step_button wpbc_wizard_step_2"> \n';
327        form_content +='					Next \n';
328        form_content +='				</a> \n';
329        form_content +='			</c> \n';
330        form_content +='		</r> \n';
331        form_content +='	</div> \n';
332        form_content +='	<div class="wpbc_wizard_step wpbc__form__div wpbc_wizard_step2  wpbc_wizard_step_hidden" style="display:none;clear:both;"> \n';
333        form_content +='		[steps_timline steps_count="3" active_step="2"]<hr> \n';
334        form_content +='		<r> \n';
335        form_content +='			<c>  <l>Select Date *</l><br />  [calendar] </c> \n';
336        form_content +='			<c>  <l>Select Times *</l><br /> \n';
337        form_content +='			    [selectbox starttime "09:00" "09:30" "10:00" "10:30" "11:00" "11:30" "12:00" "12:30" "13:00" "13:30" "14:00" "14:30" "15:00" "15:30" "16:00" "16:30" "17:00" "17:30" "18:00"] \n';
338        form_content +='			</c> \n';
339        form_content +='		</r> \n';
340        if ( 'function' === typeof( wpbc_show_day_cost_in_date_bottom ) ) {                                              // >= biz_m
341            form_content += '		<r> <c> \n';
342            form_content += '				<div class="form-hints"> \n';
343            form_content += '				Date: &nbsp;<strong>[selected_dates_hint]</strong><spacer>width:2em;</spacer> \n';
344            form_content += '			   	Time: &nbsp;<strong>[start_time_hint] - [end_time_hint]</strong> \n';
345            form_content += '				</div> \n';
346            form_content += '			</c> \n';
347            form_content += '			<c>Total Cost: &nbsp;<strong>[cost_hint]</strong></c> \n';
348            form_content += '	    </r> \n';
349        }
350        form_content +='	    <hr> \n';
351        form_content +='		<r> \n';
352        form_content +='			<c class="wpbc_aling_right" > \n';
353        form_content +='				<a class="wpbc_button_light wpbc_wizard_step_button wpbc_wizard_step_1"> \n';
354        form_content +='					Back</a><spacer>width:20px;
354</spacer> \n';
355        form_content +='     			<a class="wpbc_button_light wpbc_wizard_step_button wpbc_wizard_step_3" > \n';
356        form_content +='					Next</a> \n';
357        form_content +='			</c> \n';
358        form_content +='		</r> \n';
359        form_content +='	</div> \n';
360        form_content +='	<div class="wpbc_wizard_step wpbc__form__div wpbc_wizard_step3 wpbc_wizard_step_hidden" style="display:none;clear:both;"> \n';
361        form_content +='	[steps_timline steps_count="3" active_step="3"]<hr> \n';
362        form_content +='	<r> \n';
363        form_content +='		<c> <l>First Name *</l><br />[text* name] </c> \n';
364        form_content +='		<c> <l>Last Name *</l><br />[text* secondname] </c> \n';
365        form_content +='	</r> \n';
366        form_content +='	<r> \n';
367        form_content +='		<c> <l>Email *</l><br />[email* email] </c> \n';
368        form_content +='		<c> <l>Phone</l><br />[text phone] </c> \n';
369        form_content +='	</r> \n';
370        form_content +='	<r> \n';
371        form_content +='		<c> <l>Details</l><spacer></spacer> \n';
372        form_content +='			[textarea details] </c> \n';
373        form_content +='	</r> \n';
374        form_content +='	<spacer>height:10px;</spacer> \n';
375        form_content +='	<r> \n';
376        form_content +='		<c> [checkbox* term_and_condition use_label_element "I Accept term and conditions"] </c> \n';
377        form_content +='		<c> [captcha] </c> \n';
378        form_content +='	</r> \n';
379        if ( 'function' === typeof( wpbc_show_day_cost_in_date_bottom ) ) {                                              // >= biz_m
380            form_content +='	<r> <c> \n';
381            form_content +='			<div class="form-hints"> \n';
382            form_content +='				Date: &nbsp;<strong>[selected_dates_hint]</strong><spacer>width:2em;</spacer> \n';
383            form_content +='			   	Time: &nbsp;<strong>[start_time_hint] - [end_time_hint]</strong> \n';
384            form_content +='			</div> \n';
385            form_content +='		</c> \n';
386            form_content +='		<c>Total Cost: &nbsp;<strong>[cost_hint]</strong></c> \n';
387            form_content +='	</r> \n';
388        }
389        form_content +='	<hr> \n';
390        form_content +='	<r> \n';
391        form_content +='		<c class="wpbc_aling_right" > \n';
392        form_content +='			<a class="wpbc_button_light wpbc_wizard_step_button wpbc_wizard_step_2"> \n';
393        form_content +='				Back</a><spacer>width:20px;</spacer> \n';
394        form_content +='			[submit "Send"] \n';
395        form_content +='		</c> \n';
396        form_content +='	</r> \n';
397        form_content +='	</div> \n';
398        form_content +='</div> \n';
399    }
400    // FixIn: 10.9.6.5.
401    if ( wpbc_in_array( ['appointments_service_b'], form_type ) ) {
402        form_content +='<!--  Simple HTML shortcodes in the form (check more at "Generate Tag" section): \n';
403        form_content +='      Row: <r>...</r> | Columns: <c>...</c> | Labels: <l>...</l> | Spacer: <spacer></spacer> --> \n';
404        form_content +='<div class="wpbc_wizard__border_container"> \n';
405        form_content +='	<div class="wpbc_wizard_step wpbc__form__div wpbc_wizard_step1"> \n';
406        form_content +='		<r> \n';
407        form_content +='		 <c class="wpbc_aling_center"> \n';
408        form_content +='			<l>Select Service *</l><br /><spacer>height:20px;</spacer> \n';
409        form_content +='			[selectbox durationtime "Service A (20 min)@@00:20" "Service B (30 min)@@00:30" "Service C (45 min)@@00:45" "Service D (1 hour)@@01:00"]<spacer>height:15px;</spacer> \n';
410        form_content +='		</c> \n';
411        form_content +='		</r> \n';
412        form_content +='	    <hr> \n';
413        form_content +='		<r> \n';
414        form_content +='			<c>  <l>Select Date *</l><br />  [calendar] </c> \n';
415        form_content +='			<c>  <l>Select Times *</l><br /> \n';
416        form_content +='			    [selectbox starttime "09:00" "09:30" "10:00" "10:30" "11:00" "11:30" "12:00" "12:30" "13:00" "13:30" "14:00" "14:30" "15:00" "15:30" "16:00" "16:30" "17:00" "17:30" "18:00"] \n';
417        form_content +='			</c> \n';
418        form_content +='		</r> \n';
419        if ( 'function' === typeof( wpbc_show_day_cost_in_date_bottom ) ) {                                              // >= biz_m
420            form_content += '		<r> <c> \n';
421            form_content += '				<div class="form-hints"> \n';
422            form_content += '				Date: &nbsp;<strong>[selected_dates_hint]</strong><spacer>width:2em;</spacer> \n';
423            form_content += '			   	Time: &nbsp;<strong>[start_time_hint] - [end_time_hint]</strong> \n';
424            form_content += '				</div> \n';
425            form_content += '			</c> \n';
426            form_content += '			<c>Total Cost: &nbsp;<strong>[cost_hint]</strong></c> \n';
427            form_content += '	    </r> \n';
428        }
429        form_content +='	    <hr> \n';
430        form_content +='		<r> \n';
431        form_content +='			<c class="wpbc_aling_right" > \n';
432        form_content +='     			<a class="wpbc_button_light wpbc_wizard_step_button wpbc_wizard_step_2" > \n';
433        form_content +='					Next</a> \n';
434        form_content +='			</c> \n';
435        form_content +='		</r> \n';
436        form_content +='	</div> \n';
437        form_content +='	<div class="wpbc_wizard_step wpbc__form__div wpbc_wizard_step2 wpbc_wizard_step_hidden" style="display:none;clear:both;"> \n';
438        form_content +='	<r> \n';
439        form_content +='		<c> <l>First Name *</l><br />[text* name] </c> \n';
440        form_content +='		<c> <l>Last Name *</l><br />[text* secondname] </c> \n';
441        form_content +='	</r> \n';
442        form_content +='	<r> \n';
443        form_content +='		<c> <l>Email *</l><br />[email* email] </c> \n';
444        form_content +='		<c> <l>Phone</l><br />[text phone] </c> \n';
445        form_content +='	</r> \n';
446        form_content +='	<r> \n';
447        form_content +='		<c> <l>
447Details</l><spacer></spacer> \n';
448        form_content +='			[textarea details] </c> \n';
449        form_content +='	</r> \n';
450        form_content +='	<spacer>height:10px;</spacer> \n';
451        form_content +='	<r> \n';
452        form_content +='		<c> [checkbox* term_and_condition use_label_element "I Accept term and conditions"] </c> \n';
453        form_content +='		<c> [captcha] </c> \n';
454        form_content +='	</r> \n';
455        if ( 'function' === typeof( wpbc_show_day_cost_in_date_bottom ) ) {                                              // >= biz_m
456            form_content +='	<r> <c> \n';
457            form_content +='			<div class="form-hints"> \n';
458            form_content +='				Date: &nbsp;<strong>[selected_dates_hint]</strong><spacer>width:2em;</spacer> \n';
459            form_content +='			   	Time: &nbsp;<strong>[start_time_hint] - [end_time_hint]</strong> \n';
460            form_content +='			</div> \n';
461            form_content +='		</c> \n';
462            form_content +='		<c>Total Cost: &nbsp;<strong>[cost_hint]</strong></c> \n';
463            form_content +='	</r> \n';
464        }
465        form_content +='	<hr> \n';
466        form_content +='	<r> \n';
467        form_content +='		<c class="wpbc_aling_right" > \n';
468        form_content +='			<a class="wpbc_button_light wpbc_wizard_step_button wpbc_wizard_step_1"> \n';
469        form_content +='				Back</a><spacer>width:20px;</spacer> \n';
470        form_content +='			[submit "Send"] \n';
471        form_content +='		</c> \n';
472        form_content +='	</r> \n';
473        form_content +='	</div> \n';
474        form_content +='</div> \n';
475    }
476    // FixIn: 10.7.1.4.
477    if ( wpbc_in_array( ['appointments30'], form_type ) ) {
478        form_content = '';
479        form_content +='<!--  Simple HTML shortcodes in the form (check more at "Generate Tag" section): \n';
480        form_content +='      Row: <r>...</r> | Columns: <c>...</c> | Labels: <l>...</l> | Spacer: <spacer></spacer> --> \n';
481        form_content +='<div class="wpbc_wizard_step wpbc__form__div wpbc_wizard_step1"> \n';
482        form_content +='		<r> \n';
483        form_content +='			<c> <l>Select Date:</l><br /> [calendar] </c> \n';
484        form_content +='			<c> <l>Select Times:</l><br /> \n';
485        form_content +='			[selectbox rangetime "09:00 - 09:30" "09:30 - 10:00" "10:00 - 10:30" "10:30 - 11:00" "11:00 - 11:30" "11:30 - 12:00" "12:00 - 12:30" "12:30 - 13:00" "13:00 - 13:30" "13:30 - 14:00" "14:00 - 14:30" "14:30 - 15:00" "15:00 - 15:30" "15:30 - 16:00" "16:00 - 16:30" "16:30 - 17:00" "17:00 - 17:30" "17:30 - 18:00"] \n';
486        form_content +='		</c> \n';
487        form_content +='		</r> \n';
488        if ( 'function' === typeof( wpbc_show_day_cost_in_date_bottom ) ) {                                              // >= biz_m
489            form_content += '		<r> <c> \n';
490            form_content += '				<div class="form-hints"> \n';
491            form_content += '				Date: &nbsp;<strong>[selected_dates_hint]</strong><spacer>width:2em;</spacer> \n';
492            form_content += '			   	Time: &nbsp;<strong>[start_time_hint] - [end_time_hint]</strong> \n';
493            form_content += '				</div> \n';
494            form_content += '			</c> \n';
495            form_content += '			<c>Total Cost: &nbsp;<strong>[cost_hint]</strong></c> \n';
496            form_content += '	    </r> \n';
497        }
498        form_content +='		<hr><r> \n';
499        form_content +='			<div class="wpbc__field" style="justify-content: flex-end;"> \n';
500        form_content +='     			<a class="wpbc_button_light wpbc_wizard_step_button wpbc_wizard_step_2" > \n';
501        form_content +='				Next \n';
502        form_content +='				</a> \n';
503        form_content +='			</div> \n';
504        form_content +='		</r> \n';
505        form_content +='</div> \n';
506        form_content +='<div class="wpbc_wizard_step wpbc__form__div wpbc_wizard_step2 wpbc_wizard_step_hidden" style="display:none;clear:both;"> \n';
507        form_content +='	<r> \n';
508        form_content +='		<c> <l>First Name (required):</l><br />[text* name] </c> \n';
509        form_content +='		<c> <l>Last Name (required):</l><br />[text* secondname] </c> \n';
510        form_content +='	</r> \n';
511        form_content +='	<r> \n';
512        form_content +='		<c> <l>Email (required):</l><br />[email* email] </c> \n';
513        form_content +='		<c> <l>Phone:</l><br />[text phone] </c> \n';
514        form_content +='	</r> \n';
515        form_content +='	<r> \n';
516        form_content +='		<c> <l>
516Details:</l><spacer></spacer> \n';
517        form_content +='			[textarea details] </c> \n';
518        form_content +='	</r> \n';
519        form_content +='	<spacer>height:10px;</spacer> \n';
520        form_content +='	<r> \n';
521        form_content +='		<c> [checkbox* term_and_condition use_label_element "I Accept term and conditions"] </c> \n';
522        form_content +='		<c> [captcha] </c> \n';
523        form_content +='	</r> \n';
524        if ( 'function' === typeof( wpbc_show_day_cost_in_date_bottom ) ) {                                              // >= biz_m
525            form_content += '	<r> <c> \n';
526            form_content += '			<div class="form-hints"> \n';
527            form_content += '				Date: &nbsp;<strong>[selected_dates_hint]</strong><spacer>width:2em;</spacer> \n';
528            form_content += '			   	Time: &nbsp;<strong>[start_time_hint] - [end_time_hint]</strong> \n';
529            form_content += '			</div> \n';
530            form_content += '		</c> \n';
531            form_content += '		<c>Total Cost: &nbsp;<strong>[cost_hint]</strong></c> \n';
532            form_content += '	</r> \n';
533        }
534        form_content +='	<hr><r> \n';
535        form_content +='		<div class="wpbc__field" style="justify-content: flex-end;"> \n';
536        form_content +='			<a class="wpbc_button_light wpbc_wizard_step_button wpbc_wizard_step_1">Back</a>&nbsp;&nbsp;&nbsp; \n';
537        form_content +='			[submit "Send"] \n';
538        form_content +='		</div> \n';
539        form_content +='	</r> \n';
540        form_content +='</div> \n';
541    }
542    if ( wpbc_in_array( [ 'times', 'times30', 'times15', 'times120', 'times60', 'times60_24h', 'endtime', 'durationtime'], form_type ) ){
543        form_content = '';
544        form_content +='<!--  Simple HTML shortcodes in the form (check more at "Generate Tag" section): \n';
545        form_content +='      Row: <r>...</r> | Columns: <c>...</c> | Labels: <l>...</l> | Spacer: <spacer></spacer> --> \n';
546        form_content +='<div class="wpbc__form__div">  \n';
547        form_content +='	<r>  \n';
548        form_content +='		<c> [calendar]  </c> \n';
549
550        if ( wpbc_in_array( ['times', 'times30', 'times15', 'times120', 'times60', 'times60_24h'], form_type ) ){
551            form_content += '		<c>  <l>Select Times (required):</l><br /> \n';
552
553            if ( form_type == 'times' ){
554                form_content += '			[selectbox rangetime "10:00 AM - 12:00 PM@@10:00 - 12:00" "12:00 PM - 02:00 PM@@12:00 - 14:00" "02:00 PM - 04:00 PM@@14:00 - 16:00" "04:00 PM - 06:00 PM@@16:00 - 18:00" "06:00 PM - 08:00 PM@@18:00 - 20:00"] \n';
555            }
556            if ( form_type == 'times120' ){
557                form_content += '			[selectbox* rangetime  "6:00 AM - 8:00 AM@@06:00 - 08:00"  "8:00 AM - 10:00 AM@@08:00 - 10:00"  "10:00 AM - 12:00 PM@@10:00 - 12:00"  "12:00 PM - 2:00 PM@@12:00 - 14:00"  "2:00 PM - 4:00 PM@@14:00 - 16:00"  "4:00 PM - 6:00 PM@@16:00 - 18:00"  "6:00 PM - 8:00 PM@@18:00 - 20:00"] \n';
558            }
559            if ( form_type == 'times60' ){
560                form_content += '			[selectbox* rangetime  "6:00 AM - 7:00 AM@@06:00 - 07:00"  "7:00 AM - 8:00 AM@@07:00 - 08:00"  "8:00 AM - 9:00 AM@@08:00 - 09:00"  "9:00 AM - 10:00 AM@@09:00 - 10:00"  "10:00 AM - 11:00 AM@@10:00 - 11:00"  "11:00 AM - 12:00 PM@@11:00 - 12:00"  "12:00 PM - 1:00 PM@@12:00 - 13:00"  "1:00 PM - 2:00 PM@@13:00 - 14:00"  "2:00 PM - 3:00 PM@@14:00 - 15:00"  "3:00 PM - 4:00 PM@@15:00 - 16:00"  "4:00 PM - 5:00 PM@@16:00 - 17:00"  "5:00 PM - 6:00 PM@@17:00 - 18:00"  "6:00 PM - 7:00 PM@@18:00 - 19:00"  "7:00 PM - 8:00 PM@@19:00 - 20:00"  "8:00 PM - 9:00 PM@@20:00 - 21:00"] \n';
561            }
562            if ( form_type == 'times60_24h' ){
563                form_content += '			[selectbox* rangetime  "07:00 - 08:00"  "08:00 - 09:00"  "09:00 - 10:00"  "10:00 - 11:00"  "11:00 - 12:00"  "12:00 - 13:00"  "13:00 - 14:00"  "14:00 - 15:00"  "15:00 - 16:00"  "16:00 - 17:00"  "17:00 - 18:00"  "18:00 - 19:00"  "19:00 - 20:00"  "20:00 - 21:00"] \n';
564            }
565            if ( form_type == 'times30' ){
566                form_content += '			[selectbox rangetime "06:00 - 06:30" "06:30 - 07:00" "07:00 - 07:30" "07:30 - 08:00" "08:00 - 08:30" "08:30 - 09:00" "09:00 - 09:30" "09:30 - 10:00" "10:00 - 10:30" "10:30 - 11:00" "11:00 - 11:30" "11:30 - 12:00" "12:00 - 12:30" "12:30 - 13:00" "13:00 - 13:30" "13:30 - 14:00" "14:00 - 14:30" "14:30 - 15:00" "15:00 - 15:30" "15:30 - 16:00" "16:00 - 16:30" "16:30 - 17:00" "17:00 - 17:30" "17:30 - 18:00" "18:00 - 18:30" "18:30 - 19:00" "19:00 - 19:30" "19:30 - 20:00" "20:00 - 20:30" "20:30 - 21:00" "21:00 - 21:30"] \n';
567            }
568            if ( form_type == 'times15' ){
569                form_content += '			[selectbox rangetime "8:00 AM - 8:15 AM@@08:00 - 08:15" "8:15 AM - 8:30 AM@@08:15 - 08:30" "8:30 AM - 8:45 AM@@08:30 - 08:45" "8:45 AM - 9:00 AM@@08:45 - 09:00" "9:00 AM - 9:15 AM@@09:00 - 09:15" "9:15 AM - 9:30 AM@@09:15 - 09:30" "9:30 AM - 9:45 AM@@09:30 - 09:45" "9:45 AM - 10:00 AM@@09:45 - 10:00" "10:00 AM - 10:15 AM@@10:00 - 10:15" "10:15 AM - 10:30 AM@@10:15 - 10:30" "10:30 AM - 10:45 AM@@10:30 - 10:45" "10:45 AM - 11:00 AM@@10:45 - 11:00" "11:00 AM - 11:15 AM@@11:00 - 11:15" "11:15 AM - 11:30 AM@@11:15 - 11:30" "11:30 AM - 11:45 AM@@11:30 - 11:45" "11:45 AM - 12:00 AM@@11:45 - 12:00" "12:00 AM - 12:15 AM@@12:00 - 12:15" "12:15 AM - 12:30 AM@@12:15 - 12:30" "12:30 AM - 12:45 AM@@12:30 - 12:45" "12:45 AM - 1:00 PM@@12:45 - 13:00" "1:00 PM - 1:15 PM@@13:00 - 13:15" "1:15 PM - 1:30 PM@@13:15 - 13:30" "1:30 PM - 1:45 PM@@13:30 - 13:45" "1:45 PM - 2:00 PM@@13:45 - 14:00" "2:00 PM - 2:15 PM@@14:00 - 14:15" "2:15 PM - 2:30 PM@@14:15 - 14:30" "2:30 PM - 2:45 PM@@14:30 - 14:45" "2:45 PM - 3:00 PM@@14:45 - 15:00" "3:00 PM - 3:15 PM@@15:00 - 15:15" "3:15 PM - 3:30 PM@@15:15 - 15:30" "3:30 PM - 3:45 PM@@15:30 - 15:45" "3:45 PM - 4:00 PM@@15:45 - 16:00" "4:00 PM - 4:15 PM@@16:00 - 16:15" "4:15 PM - 4:30 PM@@16:15 - 16:30" "4:30 PM - 4:45 PM@@16:30 - 16:45" "4:45 PM - 5:00 PM@@16:45 - 17:00" "5:00 PM - 5:15 PM@@17:00 - 17:15" "5:15 PM - 5:30 PM@@17:15 - 17:30" "5:30 PM - 5:45 PM@@17:30 - 17:45" "5:45 PM - 6:00 PM@@17:45 - 18:00" "6:00 PM - 6:15 PM@@18:00 - 18:15" "6:15 PM - 6:30 PM@@18:15 - 18:30" "6:30 PM - 6:45 PM@@18:30 - 18:45" "6:45 PM - 7:00 PM@@18:45 - 19:00" "7:00 PM - 7:15 PM@@19:00 - 19:15" "7:15 PM - 7:30 PM@@19:15 - 19:30" "7:30 PM - 7:45 PM@@19:30 - 19:45" "7:45 PM - 8:00 PM@@19:45 - 20:00" "8:00 PM - 8:15 PM@@20:00 - 20:15" "8:15 PM - 8:30 PM@@20:15 - 20:30" "8:30 PM - 8:45 PM@@20:30 - 20:45" "8:45 PM - 9:00 PM@@20:45 - 21:00" "9:00 PM - 9:15 PM@@21:00 - 21:15" "9:15 PM - 9:30 PM@@21:15 - 21:30" "9:30 PM - 9:45 PM@@21:30 - 21:45"] \n';
570            }
571            form_content +='		</c> \n';
572        }
573        if ( wpbc_in_array( ['endtime', 'durationtime' ], form_type ) ){
574              form_content +='	</r> \n';
575              form_content +='	<r> \n';
576              form_content += '		<c>  <l>Start Time (required):</l><br /> \n';
577              form_content += '			[selectbox starttime "08:00" "09:00" "10:00" "11:00" "12:00" "13:00" "14:00" "15:00" "16:00" "17:00" "18:00" "19:00" "20:00" "21:00" "22:00"] \n';
578              form_content +='		</c> \n';
579              form_content +='		<c> \n';
580              if ( form_type == 'endtime' ){
581                  form_content += '		     <l>End Time (required):</l><br /> \n';
582                  form_content += '			[selectbox endtime "08:00" "09:00" "10:00" "11:00" "12:00" "13:00" "14:00" "15:00" "16:00" "17:00" "18:00" "19:00" "20:00" "21:00" "22:00" "23:00"]  \n';
583              }
584              if ( form_type == 'durationtime' ){
585                  form_content += '		     <l>Duration Time (required):</l><br /> \n';
586                  form_content += '			[selectbox durationtime "15 min@@00:15" "30 min@@00:30" "45 min@@00:45" "1 hour@@01:00" "1 hour 30 min@@01:30" "2 hours@@02:00" "3 hours@@03:00" "4 hours@@04:00"] \n';
587              }
588              form_content +='		</c> \n';
589        }
590        form_content +='	</r> \n';
591        if ( 'function' === typeof( wpbc_show_day_cost_in_date_bottom ) ){                                              // >= biz_m
592            form_content +='	<r> \n';
593            form_content +='		<c> \n';
594            if ( 'function' === typeof( wpbc_update_capacity_hint ) ){                                                  // >= biz_l
595                form_content +='			<l>Availability:</l><spacer></spacer> \n';
596                form_content +='			[capacity_hint] \n';
597                form_content +='			<spacer>height:1em;</spacer> \n';
598            }
599            form_content += '		    <p> \n';
600            form_content += '				Dates: <strong>[selected_short_timedates_hint]</strong> \n';
601            form_content += '				([nights_number_hint] - night(s))<br> \n';
602            form_content += '				Full cost of the booking: <strong>[cost_hint]</strong> <br> \n';
603            form_content += '		    </p> \n';
604            form_content +='		</c> \n';
605            form_content +='	</r><hr> \n';
606        }
607        form_content +='	<r> \n';
608        form_content +='		<c> <l>First Name (required):</l><br />[text* name] </c> \n';
609        form_content +='		<c> <l>Last Name (required):</l><br />[text* secondname] </c> \n';
610        form_content +='	</r> \n';
611        form_content +='	<r> \n';
612        form_content +='		<c> <l>Email (required):</l><br />[email* email] </c> \n';
613        form_content +='		<c> <l>Phone:</l><br />[text phone] </c> \n';
614        form_content +='	</r> \n';
615        form_content +='	<r> \n';
616        form_content +='		<c> <l>Adults:</l><br />[selectbox visitors "1" "2" "3" "4" "5"] </c> \n';
617        form_content +='		<c> <l>Children:</l><br />[selectbox children "0" "1" "2" "3"] </c>
617 \n';
618        form_content +='	</r> \n';
619        form_content +='	<r> \n';
620        form_content +='		<c> <l>Details:</l><spacer></spacer> \n';
621        form_content +='			[textarea details] </c> \n';
622        form_content +='	</r> \n';
623        form_content +='	<spacer>height:10px;</spacer> \n';
624        form_content +='	<r> \n';
625        form_content +='		<c> [checkbox* term_and_condition use_label_element "I Accept term and conditions"] </c> \n';
626        form_content +='		<c> [captcha] </c> \n';
627        form_content +='	</r> \n';
628        if ( 'function' === typeof( wpbc_show_day_cost_in_date_bottom ) ){                                              // >= biz_m
629            form_content += '	<r> \n';
630            form_content += '		<c><p> \n';
631            form_content += '			Dates: <strong>[selected_short_timedates_hint]</strong> \n';
632            form_content += '			([nights_number_hint] - night(s))<br> \n';
633            form_content += '			Full cost of the booking: <strong>[cost_hint]</strong> <br> \n';
634            form_content += '		</p></c> \n';
635            form_content += '	</r> \n';
636        }
637        form_content +='	<hr> \n';
638        form_content +='	<r> \n';
639        form_content +='		<c> <p>[submit "Send"]</p> </c> \n';
640        form_content +='	</r> \n';
641        form_content +='</div> \n';
642    }
643
644    if (form_type == 'timesweek'){
645           form_content = '';
646           form_content +='[calendar] \n'; 
647           form_content +='<div class="times-form"> \n';
648           form_content +='<p> \n';
649           form_content +='    [condition name="weekday-condition" type="weekday" value="*"] \n';
650           form_content +='        Select Time Slot:<br> [selectbox rangetime multiple "10:00 - 12:00" "12:00 - 14:00" "14:00 - 16:00" "16:00 - 18:00" "18:00 - 20:00"] \n';
651           form_content +='    [/condition] \n';
652           form_content +='    [condition name="weekday-condition" type="weekday" value="1,2"] \n';
653           form_content +='        Select Time Slot available on Monday, Tuesday:<br>    [selectbox rangetime multiple "10:00 - 12:00" "12:00 - 14:00"] \n';
654           form_content +='    [/condition] \n';
655           form_content +='    [condition name="weekday-condition" type="weekday" value="3,4"] \n';
656           form_content +='        Select Time Slot available on Wednesday, Thursday:<br>  [selectbox rangetime multiple "14:00 - 16:00" "16:00 - 18:00" "18:00 - 20:00"] \n';
657           form_content +='    [/condition] \n';
658           form_content +='    [condition name="weekday-condition" type="weekday" value="5,6,0"] \n';
659           form_content +='        Select Time Slot available on Friday, Saturday, Sunday:<br> [selectbox rangetime multiple "12:00 - 14:00" "14:00 - 16:00" "16:00 - 18:00"] \n';
660           form_content +='    [/condition] \n';
661           form_content +='</p> \n';
662           form_content +='     <p>First Name (required):<br />[text* name] </p> \n';
663           form_content +='     <p>Last Name (required):<br />[text* secondname] </p> \n';
664           form_content +='     <p>Email (required):<br />[email* email] </p>   \n';
665           form_content +='     <p>Phone:<br />[text phone] </p> \n';
666           form_content +='     <p>Adults:<br />[selectbox visitors "1" "2" "3" "4"]</p> \n';
667           form_content +='     <p>Children:<br />[selectbox children "0" "1" "2" "3"]</p> \n';
668           form_content +='     <p>Details:<br /> [textarea details] </p> \n';
669           form_content +='     <p>[checkbox* term_and_condition use_label_element "I Accept term and conditions"] </p>\n';
670           form_content +='     <p>[captcha]</p> \n';
671           form_content +='     <p>[submit class:btn "Send"]</p> \n';
672           form_content +='</div>';
673    }
674
675    if (form_type == 'hints'){
676           form_content = '';
677           form_content +='[calendar] \n'; 
678           form_content +='<div class="standard-form"> \n';
679           if ( 'function' === typeof( wpbc_show_day_cost_in_date_bottom ) ){                                              // >= biz_m
680               form_content += '     <div class="form-hints"> \n';
681               form_content += '          Dates:[selected_short_timedates_hint]  ([nights_number_hint] - night(s))<br><br> \n';
682               form_content += '          Full cost of the booking: [cost_hint] <br> \n';
683               form_content += '     </div><hr/> \n';
684           }
685           form_content +='     <p>First Name (required):<br />[text* name] </p> \n';
686           form_content +='     <p>Last Name (required):<br />[text* secondname] </p> \n';
687           form_content +='     <p>Email (required):<br />[email* email] </p>   \n';
688           form_content +='     <p>Phone:<br />[text phone] </p> \n';
689           form_content +='     <p>Adults:<br />[selectbox visitors "1" "2" "3" "4"]</p> \n';
690           form_content +='     <p>Children:<br />[selectbox children "0" "1" "2" "3"]</p> \n';
691           form_content +='     <p>Details:<br /> [textarea details] </p> \n';
692           form_content +='     <p>[checkbox* term_and_condition use_label_element "I Accept term and conditions"] </p>\n';
693           form_content +='     <p>[captcha]</p> \n';
694           form_content +='     <p>[submit class:btn "Send"]</p> \n';
695           form_content +='</div>';
696    }
697
698    // FixIn: 8.7.3.5.
699    if ( 'hints-dev' == form_type ){
700            form_content = '';
701            form_content +='<!--  Simple HTML shortcodes in the form (check more at "Generate Tag" section): \n';
702            form_content +='      Row: <r>...</r> | Columns: <c>...</c> | Labels: <l>...</l> | Spacer: <spacer></spacer> --> \n';
703            form_content +='[calendar] \n';
704            form_content +='<div class="wpbc__form__div"> \n';
705            if ( 'function' === typeof( wpbc_update_capacity_hint ) ){                                                      // >= biz_l
706                form_content +='	<r> \n';
707                form_content +='		<c><l>Availability:</l><spacer></spacer>[capacity_hint]</c> \n';
708                form_content +='	</r> \n';
709            }
710            if ( 'function' === typeof( wpbc_show_day_cost_in_date_bottom ) ){                                              // >= biz_m
711                form_content +='	<r> \n';
712                form_content +='		<c><p> \n';
713                form_content +='			Dates: <strong>[selected_short_timedates_hint]</strong> \n';
714                form_content +='			([nights_number_hint] - night(s))<br> \n';
715                form_content +='			Full cost of the booking: <strong>[cost_hint]</strong> <br> \n';
716                form_content +='		</p></c> \n';
717                form_content +='	</r> <hr> \n';
718            }
719            form_content +='	<r> \n';
720            form_content +='		<c> <l>First Name (required):</l><br />[text* name] </c> \n';
721            form_content +='		<c> <l>Last Name (required):</l><br />[text* secondname] </c> \n';
722            form_content +='	</r> \n';
723            form_content +='	<r> \n';
724            form_content +='		<c> <l>Email (required):</l><br />[email* email] </c> \n';
725            form_content +='		<c> <l>Phone:</l><br />[text phone] </c> \n';
726            form_content +='	</r> \n';
727            form_content +='	<r> \n';
728            form_content +='		<c> <l>Adults:</l><br />[selectbox visitors "1" "2" "3" "4" "5"] </c> \n';
729            form_content +='		<c> <l>Children:</l><br />[selectbox children "0" "1" "2" "3"] </c>
729 \n';
730            form_content +='	</r> \n';
731            form_content +='	<r> \n';
732            form_content +='		<c> <l>Details:</l><spacer></spacer> \n';
733            form_content +='			[textarea details] </c> \n';
734            form_content +='	</r> \n';
735            form_content +='	<spacer>height:10px;</spacer> \n';
736            form_content +='	<r> \n';
737            form_content +='		<c> [checkbox* term_and_condition use_label_element "I Accept term and conditions"] </c> \n';
738            form_content +='		<c> [captcha] </c> \n';
739            form_content +='	</r> \n';
740            if ( 'function' === typeof( wpbc_show_day_cost_in_date_bottom ) ){                                              // >= biz_m
741                form_content += '	<r> \n';
742                form_content += '		<c><p> \n';
743                form_content += '			Dates: <strong>[selected_short_timedates_hint]</strong> \n';
744                form_content += '			([nights_number_hint] - night(s))<br> \n';
745                form_content += '			Full cost of the booking: <strong>[cost_hint]</strong> <br> \n';
746                form_content += '		</p></c> \n';
747                form_content += '	</r> \n';
748            }
749            form_content +='	<hr> \n';
750            form_content +='	<r> \n';
751            form_content +='		<c> <p>[submit "Send"]</p> </c> \n';
752            form_content +='	</r> \n';
753            form_content +='</div> \n';
754    }
755
756	if ( (form_type == 'payment') || (form_type == 'paymentUS') ){
757        form_content = '';
758        form_content +='<!--  Simple HTML shortcodes in the form (check more at "Generate Tag" section): \n';
759        form_content +='      Row: <r>...</r> | Columns: <c>...</c> | Labels: <l>...</l> | Spacer: <spacer></spacer> --> \n';
760        form_content +='[calendar] \n';
761        form_content +='<div class="payment-form"> \n';
762        form_content +='     <p>First Name (required):<br />[text* name] </p> \n';
763        form_content +='     <p>Last Name (required):<br />[text* secondname] </p> \n';
764        form_content +='     <p>Email (required):<br />[email* email] </p> \n';
765        form_content +='     <p>Phone:<br />[text phone] </p> \n';
766        form_content +='     <p>Address (required):<br />  [text* address] </p> \n';
767        form_content +='     <p>City (required):<br />  [text* city] </p> \n';
768        form_content +='     <p>Post code (required):<br />  [text* postcode] </p> \n';
769        if ( form_type == 'paymentUS' ){                                                                                // FixIn: 8.1.1.5.
770            form_content +='     <p>Country (required):<br />  [country "US"] </p> \n';
771            form_content +='     <p>State:<br /> [selectbox state "" "Alabama@@AL" "Alaska@@AK" "Arizona@@AZ" "Arkansas@@AR" "California@@CA" "Colorado@@CO" "Connecticut@@CT" "Delaware@@DE" "Florida@@FL" "Georgia@@GA" "Hawaii@@HI" "Idaho@@ID" "Illinois@@IL" "Indiana@@IN" "Iowa@@IA" "Kansas@@KS" "Kentucky@@KY" "Louisiana@@LA" "Maine@@ME" "Maryland@@MD" "Massachusetts@@MA" "Michigan@@MI" "Minnesota@@MN" "Mississippi@@MS" "Missouri@@MO" "Montana@@MT" "Nebraska@@NE" "Nevada@@NV" "New Hampshire@@NH" "New Jersey@@NJ" "New Mexico@@NM" "New York@@NY" "North Carolina@@NC" "North Dakota@@ND" "Ohio@@OH" "Oklahoma@@OK" "Oregon@@OR" "Pennsylvania@@PA" "Rhode Island@@RI" "South Carolina@@SC" "South Dakota@@SD" "Tennessee@@TN" "Texas@@TX" "Utah@@UT" "Vermont@@VT" "Virginia@@VA" "Washington@@WA" "West Virginia@@WV" "Wisconsin@@WI" "Wyoming@@WY"] </p> \n';
772		} else {
773			form_content += '     <p>Country (required):<br />  [country] </p> \n';
774		}
775        form_content +='     <p>Adults:<br />[selectbox visitors "1" "2" "3" "4"]</p> \n';
776        form_content +='     <p>Children:<br />[selectbox children "0" "1" "2" "3"]</p> \n';
777        form_content +='     <p>Details:<br /> [textarea details] </p> \n';
778        form_content +='     <p>[checkbox* term_and_condition use_label_element "I Accept term and conditions"] </p> \n';
779        form_content +='     <p>[captcha]</p> \n';
780        form_content +='     <p>[submit class:btn "Send"]</p> \n';
781        form_content +='</div>';
782    }
783
784    if (
785        (form_type == 'wizard') ||
786        ( wpbc_in_array( ['wizard_times', 'wizard_times30', 'wizard_times15', 'wizard_times120', 'wizard_times60', 'wizard_times60_24h'], form_type ) )
787    ){
788        // FixIn: 8.6.1.15.
789		form_content = '';
790        if ( location.href.indexOf( 'wpbookingcalendar.com' ) !== -1 ){
791            // form_content += '<!-- In our Public Demo, JavaScript is restricted in the form. --> \n';
792            // form_content += '<!-- As a result, the "Wizard Form Template" is unable to function here. --> \n';
793        }
794        form_content +='<!--  Simple HTML shortcodes in the form (check more at "Generate Tag" section): \n';
795        form_content +='      Row: <r>...</r> | Columns: <c>...</c> | Labels: <l>...</l> | Spacer: <spacer></spacer> --> \n';
796        form_content +='<div class="wpbc_wizard_step wpbc__form__div wpbc_wizard_step1"> \n';
797        form_content +='		<r> \n';
798        form_content +='			<c> [calendar] </c> \n';
799
800        if ( wpbc_in_array( ['wizard_times', 'wizard_times30', 'wizard_times15', 'wizard_times120', 'wizard_times60', 'wizard_times60_24h'], form_type ) ){
801            form_content += '		<c>  <l>Select Times (required):</l><br /> \n';
802
803            if ( form_type == 'wizard_times' ){
804                form_content += '			[selectbox rangetime "10:00 AM - 12:00 PM@@10:00 - 12:00" "12:00 PM - 02:00 PM@@12:00 - 14:00" "02:00 PM - 04:00 PM@@14:00 - 16:00" "04:00 PM - 06:00 PM@@16:00 - 18:00" "06:00 PM - 08:00 PM@@18:00 - 20:00"] \n';
805            }
806            if ( form_type == 'wizard_times120' ){
807                form_content += '			[selectbox* rangetime  "6:00 AM - 8:00 AM@@06:00 - 08:00"  "8:00 AM - 10:00 AM@@08:00 - 10:00"  "10:00 AM - 12:00 PM@@10:00 - 12:00"  "12:00 PM - 2:00 PM@@12:00 - 14:00"  "2:00 PM - 4:00 PM@@14:00 - 16:00"  "4:00 PM - 6:00 PM@@16:00 - 18:00"  "6:00 PM - 8:00 PM@@18:00 - 20:00"] \n';
808            }
809            if ( form_type == 'wizard_times60' ){
810                form_content += '			[selectbox* rangetime  "6:00 AM - 7:00 AM@@06:00 - 07:00"  "7:00 AM - 8:00 AM@@07:00 - 08:00"  "8:00 AM - 9:00 AM@@08:00 - 09:00"  "9:00 AM - 10:00 AM@@09:00 - 10:00"  "10:00 AM - 11:00 AM@@10:00 - 11:00"  "11:00 AM - 12:00 PM@@11:00 - 12:00"  "12:00 PM - 1:00 PM@@12:00 - 13:00"  "1:00 PM - 2:00 PM@@13:00 - 14:00"  "2:00 PM - 3:00 PM@@14:00 - 15:00"  "3:00 PM - 4:00 PM@@15:00 - 16:00"  "4:00 PM - 5:00 PM@@16:00 - 17:00"  "5:00 PM - 6:00 PM@@17:00 - 18:00"  "6:00 PM - 7:00 PM@@18:00 - 19:00"  "7:00 PM - 8:00 PM@@19:00 - 20:00"  "8:00 PM - 9:00 PM@@20:00 - 21:00"] \n';
811            }
812            if ( form_type == 'wizard_times60_24h' ){
813                form_content += '			[selectbox* rangetime  "07:00 - 08:00"  "08:00 - 09:00"  "09:00 - 10:00"  "10:00 - 11:00"  "11:00 - 12:00"  "12:00 - 13:00"  "13:00 - 14:00"  "14:00 - 15:00"  "15:00 - 16:00"  "16:00 - 17:00"  "17:00 - 18:00"  "18:00 - 19:00"  "19:00 - 20:00"  "20:00 - 21:00"] \n';
814            }
815            if ( form_type == 'wizard_times30' ){
816                form_content += '			[selectbox rangetime "06:00 - 06:30" "06:30 - 07:00" "07:00 - 07:30" "07:30 - 08:00" "08:00 - 08:30" "08:30 - 09:00" "09:00 - 09:30" "09:30 - 10:00" "10:00 - 10:30" "10:30 - 11:00" "11:00 - 11:30" "11:30 - 12:00" "12:00 - 12:30" "12:30 - 13:00" "13:00 - 13:30" "13:30 - 14:00" "14:00 - 14:30" "14:30 - 15:00" "15:00 - 15:30" "15:30 - 16:00" "16:00 - 16:30" "16:30 - 17:00" "17:00 - 17:30" "17:30 - 18:00" "18:00 - 18:30" "18:30 - 19:00" "19:00 - 19:30" "19:30 - 20:00" "20:00 - 20:30" "20:30 - 21:00" "21:00 - 21:30"] \n';
817            }
818            if ( form_type == 'wizard_times15' ){
819                form_content += '			[selectbox rangetime "8:00 AM - 8:15 AM@@08:00 - 08:15" "8:15 AM - 8:30 AM@@08:15 - 08:30" "8:30 AM - 8:45 AM@@08:30 - 08:45" "8:45 AM - 9:00 AM@@08:45 - 09:00" "9:00 AM - 9:15 AM@@09:00 - 09:15" "9:15 AM - 9:30 AM@@09:15 - 09:30" "9:30 AM - 9:45 AM@@09:30 - 09:45" "9:45 AM - 10:00 AM@@09:45 - 10:00" "10:00 AM - 10:15 AM@@10:00 - 10:15" "10:15 AM - 10:30 AM@@10:15 - 10:30" "10:30 AM - 10:45 AM@@10:30 - 10:45" "10:45 AM - 11:00 AM@@10:45 - 11:00" "11:00 AM - 11:15 AM@@11:00 - 11:15" "11:15 AM - 11:30 AM@@11:15 - 11:30" "11:30 AM - 11:45 AM@@11:30 - 11:45" "11:45 AM - 12:00 AM@@11:45 - 12:00" "12:00 AM - 12:15 AM@@12:00 - 12:15" "12:15 AM - 12:30 AM@@12:15 - 12:30" "12:30 AM - 12:45 AM@@12:30 - 12:45" "12:45 AM - 1:00 PM@@12:45 - 13:00" "1:00 PM - 1:15 PM@@13:00 - 13:15" "1:15 PM - 1:30 PM@@13:15 - 13:30" "1:30 PM - 1:45 PM@@13:30 - 13:45" "1:45 PM - 2:00 PM@@13:45 - 14:00" "2:00 PM - 2:15 PM@@14:00 - 14:15" "2:15 PM - 2:30 PM@@14:15 - 14:30" "2:30 PM - 2:45 PM@@14:30 - 14:45" "2:45 PM - 3:00 PM@@14:45 - 15:00" "3:00 PM - 3:15 PM@@15:00 - 15:15" "3:15 PM - 3:30 PM@@15:15 - 15:30" "3:30 PM - 3:45 PM@@15:30 - 15:45" "3:45 PM - 4:00 PM@@15:45 - 16:00" "4:00 PM - 4:15 PM@@16:00 - 16:15" "4:15 PM - 4:30 PM@@16:15 - 16:30" "4:30 PM - 4:45 PM@@16:30 - 16:45" "4:45 PM - 5:00 PM@@16:45 - 17:00" "5:00 PM - 5:15 PM@@17:00 - 17:15" "5:15 PM - 5:30 PM@@17:15 - 17:30" "5:30 PM - 5:45 PM@@17:30 - 17:45" "5:45 PM - 6:00 PM@@17:45 - 18:00" "6:00 PM - 6:15 PM@@18:00 - 18:15" "6:15 PM - 6:30 PM@@18:15 - 18:30" "6:30 PM - 6:45 PM@@18:30 - 18:45" "6:45 PM - 7:00 PM@@18:45 - 19:00" "7:00 PM - 7:15 PM@@19:00 - 19:15" "7:15 PM - 7:30 PM@@19:15 - 19:30" "7:30 PM - 7:45 PM@@19:30 - 19:45" "7:45 PM - 8:00 PM@@19:45 - 20:00" "8:00 PM - 8:15 PM@@20:00 - 20:15" "8:15 PM - 8:30 PM@@20:15 - 20:30" "8:30 PM - 8:45 PM@@20:30 - 20:45" "8:45 PM - 9:00 PM@@20:45 - 21:00" "9:00 PM - 9:15 PM@@21:00 - 21:15" "9:15 PM - 9:30 PM@@21:15 - 21:30" "9:30 PM - 9:45 PM@@21:30 - 21:45"] \n';
820            }
821            form_content +='		</c> \n';
822        } else if ( 'function' === typeof( wpbc_show_day_cost_in_date_bottom ) ){                                              // >= biz_m
823            form_content += '			<c><p> \n';
824            form_content += '				Dates: <strong>[selected_short_timedates_hint]</strong> \n';
825            form_content += '				([nights_number_hint] - night(s))<br> \n';
826            form_content += '				Full cost of the booking: <strong>[cost_hint]</strong> <br> \n';
827            form_content += '			</p></c> \n';
828        }
829        form_content +='		</r> <hr> \n';
830        form_content +='		<r> \n';
831        form_content +='			<div class="wpbc__field" style="justify-content: flex-end;"> \n';
832        form_content +='     			<a class="wpbc_button_light wpbc_wizard_step_button wpbc_wizard_step_2" > \n';
833        form_content +='				Next \n';
834        form_content +='				</a> \n';
835        form_content +='			</div> \n';
836        form_content +='		</r> \n';
837        form_content +='</div> \n';
838        form_content +='<div class="wpbc_wizard_step wpbc__form__div wpbc_wizard_step2 wpbc_wizard_step_hidden" style="display:none;clear:both;"> \n';
839        form_content +='	<r> \n';
840        form_content +='		<c> <l>First Name (required):</l><br />[text* name] </c> \n';
841        form_content +='		<c> <l>Last Name (required):</l><br />[text* secondname] </c> \n';
842        form_content +='	</r> \n';
843        form_content +='	<r> \n';
844        form_content +='		<c> <l>Email (required):</l><br />[email* email] </c> \n';
845        form_content +='		<c> <l>Phone:</l><br />[text phone] </c> \n';
846        form_content +='	</r> \n';
847        form_content +='	<r> \n';
848        form_content +='		<c> <l>Adults:</l><br />[selectbox visitors "1" "2" "3" "4" "5"] </c> \n';
849        form_content +='		<c> <l>Children:</l><br />[selectbox children "0" "1" "2" "3"] </c>
849 \n';
850        form_content +='	</r> \n';
851        form_content +='	<r> \n';
852        form_content +='		<c> <l>Details:</l><spacer></spacer> \n';
853        form_content +='			[textarea details] </c> \n';
854        form_content +='	</r> \n';
855        form_content +='	<spacer>height:10px;</spacer> \n';
856        form_content +='	<r> \n';
857        form_content +='		<c> [checkbox* term_and_condition use_label_element "I Accept term and conditions"] </c> \n';
858        form_content +='		<c> [captcha] </c> \n';
859        form_content +='	</r> \n';
860        if ( 'function' === typeof( wpbc_show_day_cost_in_date_bottom ) ){                                              // >= biz_m
861            form_content += '	<r> \n';
862            form_content += '		<c><div class="form-hints"> \n';
863            form_content += '			Dates: <strong>[selected_short_timedates_hint]</strong> \n';
864            form_content += '			([nights_number_hint] - night(s))<br> \n';
865            form_content += '			Full cost of the booking: <strong>[cost_hint]</strong> <br> \n';
866            form_content += '		</div></c> \n';
867            form_content += '	</r> \n';
868        }
869        form_content +='	<hr> \n';
870        form_content +='	<r> \n';
871        form_content +='		<div class="wpbc__field" style="justify-content: flex-end;"> \n';
872        form_content +='			<a class="wpbc_button_light wpbc_wizard_step_button wpbc_wizard_step_1">Back</a>&nbsp;&nbsp;&nbsp; \n';
873        form_content +='			[submit "Send"] \n';
874        form_content +='		</div> \n';
875        form_content +='	</r> \n';
876        form_content +='</div> \n';
877    }
878
879    if (form_type == '2collumns')  { // calendar next to  form
880        form_content = '';
881
882        form_content +='<!--  Simple HTML shortcodes in the form (check more at "Generate Tag" section): \n';
883        form_content +='      Row: <r>...</r> | Columns: <c>...</c> | Labels: <l>...</l> | Spacer: <spacer></spacer> --> \n';
884        form_content +='<r> \n';
885        form_content +='	<c>[calendar]</c> \n';
886        form_content +='	<spacer>width:40px;</spacer> \n';
887        form_content +='	<c> \n';
888        form_content +='		<r><c> <l>First Name (required):</l> <br>[text* name]</c></r> \n';
889        form_content +='		<r><c> <l>Last Name (required):</l>  <br>[text* secondname] </c></r> \n';
890        form_content +='		<r><c> <l>Email (required):</l>      <br>[email* email] </c></r> \n';
891        form_content +='		<r><c> <l>Phone:</l>                 <br>[text phone] </c></r> \n';
892        form_content +='		<r><c> <l>Adults:</l>                <br>[selectbox visitors "1" "2" "3" "4"] </c></r> \n';
893        form_content +='		<r><c> <l>Children:</l>              <br>[selectbox children "0" "1" "2" "3"] </c>
893</r> \n';
894        form_content +='		<r><c> <l>Details:</l><br> [textarea details]</c></r> \n';
895        form_content +='		<r> \n';
896        form_content +='			<c>[checkbox* term_and_condition use_label_element "I Accept term and conditions"]</c> \n';
897        form_content +='			<c>[captcha]</c> \n';
898        form_content +='		</r> \n';
899        form_content +='		<hr/> \n';
900        form_content +='		<r><c>[submit class:btn "Send"]</c></r> \n';
901        form_content +='	</c> \n';
902        form_content +='</r> \n';
903
904
905        // form_content +='<r> \n';
906        // form_content +='	<c>[calendar]</c> \n';
907        // form_content +='	<c> \n';
908        // form_content +='		<r><c> <l>First Name (required):</l><br>[text* name]</c></r> \n';
909        // form_content +='		<r><c> <l>Last Name (required):</l><br>[text* secondname]</c></r> \n';
910        // form_content +='		<r><c> <l>Email (required):</l><br>[email* email]</c></r> \n';
911        // form_content +='		<r><c> <l>Phone:</l><br>[text phone]</c></r> \n';
912        // form_content +='		<r><c> <l>Adults:</l><br>[selectbox visitors "1" "2" "3" "4"]</c></r> \n';
913        // form_content +='		<r><c> <l>Children:</l><br>[selectbox children "0" "1" "2" "3"]</c></r> \n';
914        // form_content +='		<r><c> <l>Details:</l><br> [textarea details]</c></r> \n';
915        // form_content +='		<r> \n';
916        // form_content +='			<c>[checkbox* term_and_condition use_label_element "I Accept term and conditions"]</c> \n';
917        // form_content +='			<c>[captcha]</c> \n';
918        // form_content +='		</r> \n';
919        // form_content +='		<hr/> \n';
920        // form_content +='		<r><c>[submit class:btn "Send"]</c></r> \n';
921        // form_content +='	</c> \n';
922        // form_content +='</r> \n';
923
924        // form_content +='<div class="wpbc_sections"> \n';
925        // form_content +='	<div class="wpbc_section_50"> \n';
926        // form_content +='		[calendar] \n';
927        // form_content +='	</div> \n';
928        // form_content +='	<div class="wpbc_section_spacer"></div> \n';
929        // form_content +='	<div class="wpbc_section_50"> \n';
930        // form_content +='		<p>First Name (required):<br />[text* name] </p> \n';
931        // form_content +='		<p>Last Name (required):<br />[text* secondname] </p>  \n';
932        // form_content +='		<p>Email (required):<br />[email* email] </p>  \n';
933        // form_content +='		<p>Phone:<br />[text phone] </p>  \n';
934        // form_content +='		<p>Adults:<br />[selectbox visitors "1" "2" "3" "4"]</p> \n';
935        // form_content +='		<p>Children:<br />[selectbox children "0" "1" "2" "3"]</p>  \n';
936        // form_content +='	</div> \n';
937        // form_content +='	<div class="wpbc_section_100"> \n';
938        // form_content +='		<p>Details:<br /> [textarea details]</p>  \n';
939        // form_content +='		[captcha] \n';
940        // form_content +='		<p>[checkbox* term_and_condition use_label_element "I Accept term and conditions"]</p> \n';
941        // form_content +='		<hr/> \n';
942        // form_content +='		<p>[submit class:btn "Send"] </p> \n';
943        // form_content +='	</div> \n';
944        // form_content +='</div> \n';
945    }
946
947    // FixIn: 8.7.7.15.
948    if (form_type == 'fields2columns')  { // 2 columns form
949        form_content = '';
950        form_content +='<!--  Simple HTML shortcodes in the form (check more at "Generate Tag" section): \n';
951        form_content +='      Row: <r>...</r> | Columns: <c>...</c> | Labels: <l>...</l> | Spacer: <spacer></spacer> --> \n';
952        form_content +='[calendar]\n';
953        form_content +='<div class="wpbc__form__div">\n';
954        form_content +='	<r>\n';
955        form_content +='		<c> <l>First Name (required):</l><br>[text* name] </c>\n';
956        form_content +='		<c> <l>Last Name (required):</l><br>[text* secondname] </c>\n';
957        form_content +='	</r>\n';
958        form_content +='	<r>\n';
959        form_content +='		<c> <l>Email (required):</l><br>[email* email] </c>\n';
960        form_content +='		<c> <l>Phone:</l><br>[text phone] </c>\n';
961        form_content +='	</r>\n';
962        form_content +='	<r>\n';
963        form_content +='		<c> <l>Address (required):</l><br>[text* address] </c>\n';
964        form_content +='		<c> <l>City (required):</l><br>[text* city] </c>\n';
965        form_content +='	</r>\n';
966        form_content +='	<r>\n';
967        form_content +='		<c> <l>Post code (required):</l><br>[text* postcode] </c>
967\n';
968        form_content +='		<c> <l>Country (required):</l><br>[country] </c>\n';
969        form_content +='	</r>\n';
970        form_content +='	<r>\n';
971        form_content +='		<c> <l>Adults:</l><br>[selectbox visitors "1" "2" "3" "4" "5"] </c>\n';
972        form_content +='		<c> <l>Children:</l><br>[selectbox children "0" "1" "2" "3"] </c>\n';
973        form_content +='	</r>\n';
974        form_content +='	<r>\n';
975        form_content +='		<c> <l>Details:</l><spacer></spacer> \n';
976        form_content +='			[textarea details] </c>\n';
977        form_content +='	</r><br>\n';
978        form_content +='	<p>[submit class:btn "Send"]</p>\n';
979        form_content +='</div>';
980    }
981
982    // FixIn: 8.8.2.6.
983    if (form_type == 'fields3columns')  { // 3 columns form
984        form_content = '';
985        form_content +='<!--  Simple HTML shortcodes in the form (check more at "Generate Tag" section): \n';
986        form_content +='      Row: <r>...</r> | Columns: <c>...</c> | Labels: <l>...</l> | Spacer: <spacer></spacer> --> \n';
987        form_content +='<r>\n';
988        form_content +='    <c> [calendar] </c>\n';
989        form_content +='    <c>\n';
990        form_content +='        <div class="wpbc__form__div">\n';
991        form_content +='            <r>\n';
992        form_content +='                <c> <l>First Name (required):</l><br>[text* name] </c>\n';
993        form_content +='                <c> <l>Last Name (required):</l><br>[text* secondname] </c>\n';
994        form_content +='            </r>\n';
995        form_content +='            <r>\n';
996        form_content +='                <c> <l>Email (required):</l><br>[email* email] </c>\n';
997        form_content +='                <c> <l>Phone:</l><br>[text phone] </c>\n';
998        form_content +='            </r>\n';
999        form_content +='            <r>\n';
1000        form_content +='                <c> <l>Address (required):</l><br>[text* address] </c>\n';
1001        form_content +='                <c> <l>City (required):</l><br>[text* city] </c>\n';
1002        form_content +='            </r>\n';
1003        form_content +='            <r>\n';
1004        form_content +='                <c> <l>Post code (required):</l><br>[text* postcode] </c>\n';
1005        form_content +='                <c> <l>Country (required):</l><br>[country] </c>\n';
1006        form_content +='            </r>\n';
1007        form_content +='            <r>\n';
1008        form_content +='                <c> <l>Adults:</l><br>[selectbox visitors "1" "2" "3" "4" "5"] </c>\n';
1009        form_content +='                <c> <l>Children:</l><br>[selectbox children "0" "1" "2" "3"] </c>
1009\n';
1010        form_content +='            </r>\n';
1011        form_content +='            <r>\n';
1012        form_content +='                <c> <l>Details:</l><spacer></spacer> \n';
1013        form_content +='                    [textarea details] </c>\n';
1014        form_content +='            </r>\n';
1015        form_content +='            <p>[submit class:btn "Send"]</p>\n';
1016        form_content +='        </div>\n';
1017        form_content +='    </c>\n';
1018        form_content +='</r>\n';
1019    }
1020
1021
1022    // FixIn: 8.7.11.14.
1023    if (form_type == 'fields2columnstimes')  { // 2 columns form
1024        form_content  = '';
1025        form_content +='<div class="wpbc__form__div"> \n';
1026        form_content +='    <r> \n';
1027        form_content +='		<c> <l>Select Date:</l><br />[calendar] </c> \n';
1028        form_content +='		<c> <l>Select Times*:</l><br /> \n';
1029        form_content +='			[select* rangetime "10:00 AM - 12:00 PM@@10:00 - 12:00" "12:00 PM - 02:00 PM@@12:00 - 14:00" "02:00 PM - 04:00 PM@@14:00 - 16:00" "04:00 PM - 06:00 PM@@16:00 - 18:00" "06:00 PM - 08:00 PM@@18:00 - 20:00"] </c> \n';
1030        form_content +='	</r> \n';
1031        form_content +='	<r> \n';
1032        form_content +='		<c> <l>First Name (required):</l><br />[text* name] </c> \n';
1033        form_content +='		<c> <l>Last Name (required):</l><br />[text* secondname] </c> \n';
1034        form_content +='	</r> \n';
1035        form_content +='	<r> \n';
1036        form_content +='		<c> <l>Email (required):</l><br />[email* email] </c> \n';
1037        form_content +='		<c> <l>Phone:</l><br />[text phone] </c> \n';
1038        form_content +='	</r> \n';
1039        form_content +='	<r> \n';
1040        form_content +='		<c> <l>Adults:</l><br />[selectbox visitors "1" "2" "3" "4" "5"] </c> \n';
1041        form_content +='		<c> <l>Children:</l><br />[selectbox children "0" "1" "2" "3"] </c>
1041 \n';
1042        form_content +='	</r> \n';
1043        form_content +='	<r> \n';
1044        form_content +='		<c> <l>Details:</l><spacer></spacer> \n';
1045        form_content +='			[textarea details] </c> \n';
1046        form_content +='	</r><br /> \n';
1047        form_content +='	<p>[submit "Send"]</p>\n';
1048        form_content +='</div>\n';
1049    }
1050
1051    if (form_content == '') { // Default Form.
1052           form_content = '';
1053           form_content +='[calendar] \n'; 
1054           form_content +='<div class="standard-form"> \n';
1055           form_content +='     <p>First Name (required):<br />[text* name] </p> \n';
1056           form_content +='     <p>Last Name (required):<br />[text* secondname] </p> \n';
1057           form_content +='     <p>Email (required):<br />[email* email] </p>   \n';
1058           form_content +='     <p>Phone:<br />[text phone] </p> \n';
1059           form_content +='     <p>Adults:<br />[selectbox visitors "1" "2" "3" "4"]</p> \n';
1060           form_content +='     <p>Children:<br />[selectbox children "0" "1" "2" "3"]</p> \n';
1061           form_content +='     <p>Details:<br /> [textarea details] </p> \n';
1062           form_content +='     <p>[checkbox* term_and_condition use_label_element "I Accept term and conditions"] </p>\n';
1063           form_content +='     <p>[captcha]</p> \n';
1064           form_content +='     <p>[submit class:btn "Send"]</p> \n';
1065           form_content +='</div>';
1066    }
1067    
1068    return form_content;
1069}
1070
1071function wpbc_reset__get_form_data( form_type ){
1072    var form_content = '';
1073	// FixIn: 10.12.4.9.
1074    if ( wpbc_in_array( ['wizard_no_times_a'], form_type ) ) {
1075        form_content = '';
1076        form_content +='<div class="standard-content-form"> \n';
1077        form_content += '    <b>First Name</b>: <f>[name]</f><br>\n';
1078        form_content += '    <b>Last Name</b>:  <f>[secondname]</f><br>\n';
1079        form_content += '    <b>Email</b>:      <f>[email]</f><br>\n';
1080        form_content += '    <b>Phone</b>:      <f>[phone]</f><br>\n';
1081        form_content += '    <b>Adults</b>:     <f>[visitors]</f><br>\n';
1082        form_content += '    <b>Children</b>:   <f>[children]</f><br>\n';
1083        form_content += '    <b>Details</b>:    <f>[details]</f>\n';
1084        form_content +='</div>';
1085    }
1086    // FixIn: 10.9.6.5.
1087    if ( wpbc_in_array( ['appointments_service_a', 'appointments_service_b', 'appointments_service_c'], form_type ) ) {
1088        form_content = '';
1089        form_content +='<div class="standard-content-form">\n';
1090        form_content +='    <b>Service</b>:    <f>[durationtime_val]</f><br>\n';
1091        form_content +='    <b>Start Time</b>: <f>[starttime]</f><br>\n';
1092        form_content +='    <b>First Name</b>: <f>[name]</f><br>\n';
1093        form_content +='    <b>Last Name</b>:  <f>[secondname]</f><br>\n';
1094        form_content +='    <b>Email</b>:      <f>[email]</f><br>\n';
1095        form_content +='    <b>Phone</b>:      <f>[phone]</f><br>\n';
1096        form_content +='    <b>Details</b>:    <f>[details]</f>\n';
1097        form_content +='</div>';
1098    }
1099
1100    // FixIn: 10.7.1.4.
1101    if ( wpbc_in_array( ['appointments30'], form_type ) ) {
1102        form_content = '';
1103        form_content +='<div class="standard-content-form"> \n';
1104        form_content += '    <b>Times</b>:      <f>[rangetime]</f><br>\n';
1105        form_content += '    <b>First Name</b>: <f>[name]</f><br>\n';
1106        form_content += '    <b>Last Name</b>:  <f>[secondname]</f><br>\n';
1107        form_content += '    <b>Email</b>:      <f>[email]</f><br>\n';
1108        form_content += '    <b>Phone</b>:      <f>[phone]</f><br>\n';
1109        form_content += '    <b>Details</b>:    <f>[details]</f>\n';
1110        form_content +='</div>';
1111    }
1112
1113   if ( (form_type == 'payment')  || (form_type == 'paymentUS') || ( 'fields2columns' == form_type ) || ( 'fields3columns' == form_type ) ) {               //FixIn: 8.7.7.15      // FixIn: 8.8.2.6.
1114        form_content = '';
1115        form_content +='<div class="standard-content-form"> \n';
1116        form_content += '    <b>First Name</b>: <f>[name]</f><br>\n';
1117        form_content += '    <b>Last Name</b>:  <f>[secondname]</f><br>\n';
1118        form_content += '    <b>Email</b>:      <f>[email]</f><br>\n';
1119        form_content += '    <b>Phone</b>:      <f>[phone]</f><br>\n';
1120        form_content += '    <b>Address</b>:    <f>[address]</f><br>\n';
1121        form_content += '    <b>City</b>:       <f>[city]</f><br>\n';
1122        form_content += '    <b>Post code</b>:  <f>[postcode]</f><br>\n';
1123        form_content += '    <b>Country</b>:    <f>[country]</f><br>\n';
1124        if ( form_type == 'paymentUS' ) {
1125        form_content += '    <b>State</b>:      <f>[state]</f><br>\n';
1126        }
1127        form_content += '    <b>Adults</b>:     <f>[visitors]</f><br>\n';
1128        form_content += '    <b>Children</b>:   <f>[children]</f><br>\n';
1129        form_content += '    <b>Details</b>:    <f>[details]</f>\n';
1130        form_content += '</div>';
1131    }
1132
1133    if (
1134           ( wpbc_in_array( ['timesweek', 'fields2columnstimes'], form_type ) )
1135        || ( wpbc_in_array( ['times', 'times30', 'times15', 'times120', 'times60', 'times60_24h', 'endtime', 'durationtime'], form_type ) )
1136        || ( wpbc_in_array( ['wizard_times', 'wizard_times30', 'wizard_times15', 'wizard_times120', 'wizard_times60', 'wizard_times60_24h'], form_type ) )
1137    ){      //FixIn: 7.1.2.6       // FixIn: 8.7.11.14.
1138        form_content = '';
1139        form_content +='<div class="standard-content-form"> \n';
1140        form_content += '    <b>Times</b>:      <f>[rangetime]</f><br>\n';
1141        form_content += '    <b>First Name</b>: <f>[name]</f><br>\n';
1142        form_content += '    <b>Last Name</b>:  <f>[secondname]</f><br>\n';
1143        form_content += '    <b>Email</b>:      <f>[email]</f><br>\n';
1144        form_content += '    <b>Phone</b>:      <f>[phone]</f><br>\n';
1145        form_content += '    <b>Adults</b>:     <f>[visitors]</f><br>\n';
1146        form_content += '    <b>Children</b>:   <f>[children]</f><br>\n';
1147        form_content += '    <b>Details</b>:    <f>[details]</f>\n';
1148        form_content +='</div>';
1149    }
1150
1151    // FixIn: 8.7.3.5.
1152    if ( 'hints-dev' == form_type ){
1153        form_content = '';
1154        form_content +='<div class="standard-content-form"> \n';
1155        form_content += '    <b>First Name</b>: <f>[name]</f><br>\n';
1156        form_content += '    <b>Last Name</b>:  <f>[secondname]</f><br>\n';
1157        form_content += '    <b>Email</b>:      <f>[email]</f><br>\n';
1158        form_content += '    <b>Adults</b>:     <f>[visitors]</f><br>\n';
1159        form_content += '    <b>Children</b>:   <f>[children]</f><br>\n';
1160        form_content += '    <b>Details</b>:    <f>[details]</f>\n';
1161        form_content +='</div>';
1162    }
1163
1164    if (  (form_type == 'wizard') || (form_type == '2collumns') || (form_content == 'hints') || (form_content == '') ){
1165        form_content = '';
1166        form_content +='<div class="standard-content-form"> \n';
1167        form_content += '    <b>First Name</b>: <f>[name]</f><br>\n';
1168        form_content += '    <b>Last Name</b>:  <f>[secondname]</f><br>\n';
1169        form_content += '    <b>Email</b>:      <f>[email]</f><br>\n';
1170        form_content += '    <b>Phone</b>:      <f>[phone]</f><br>\n';
1171        form_content += '    <b>Adults</b>:     <f>[visitors]</f><br>\n';
1172        form_content += '    <b>Children</b>:   <f>[children]</f><br>\n';
1173        form_content += '    <b>Details</b>:    <f>[details]</f>\n';
1174        form_content +='</div>';
1175    }
1176    return form_content;
1177}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.