Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Styling with Bootstrap
Message
From
08/08/2017 04:54:01
 
 
General information
Forum:
HTML5
Category:
Responsive web design
Miscellaneous
Thread ID:
01653109
Message ID:
01653142
Views:
58
>>>How does it look on a smart phone ?
>>
>>Like any Bootstrap app (see attached SS)
>
>Pretty good. How about form validation ?

FoxInCloud runs whatever event code sits in the original VFP form (and/or its parent classes);

By default, FoxinCloud.js collects all events and sends them to server (by AJAX) for execution: this sample form has 45 such events implemented; generated code goes like this:
$('div_scx-pageframe1-page1-genre1').observe('change', FoxInCloud.DOMEvent.bind(FoxInCloud));
$('div_scx-pageframe1-page1-txtnom35').observe('blur', FoxInCloud.DOMEvent.bind(FoxInCloud));
$('div_scx-pageframe1-page1-prenom1').observe('blur', FoxInCloud.DOMEvent.bind(FoxInCloud));
$('div_scx-pageframe1-page1-prenoms1').observe('blur', FoxInCloud.DOMEvent.bind(FoxInCloud));
$('div_scx-pageframe1-page1-txtprofes38').observe('blur', FoxInCloud.DOMEvent.bind(FoxInCloud));
$('div_scx-pageframe1-page1-datenaiss1').observe('blur', FoxInCloud.DOMEvent.bind(FoxInCloud));
$('div_scx-pageframe1-page1-lieunaiss').observe('blur', FoxInCloud.DOMEvent.bind(FoxInCloud));
$('div_scx-pageframe1-page1-nation').observe('blur', FoxInCloud.DOMEvent.bind(FoxInCloud));
$('div_scx-pageframe1-page1-testament1-cbotestament42').observe('change', FoxInCloud.DOMEvent.bind(FoxInCloud));
$('div_scx-pageframe1-page1-check1').observe('click', FoxInCloud.DOMEvent.bind(FoxInCloud));
$('div_scx-pageframe1-page1-decesliq1').observe('click', FoxInCloud.DOMEvent.bind(FoxInCloud));
etc.
Of course you can replace this default behavior by pure browser JS code, or both browser and server processing; http://foxincloud.com/tutotest/event.tuto illustrates this
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Previous
Reply
Map
View

Click here to load this message in the networking platform