Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Styling with Bootstrap
Message
De
08/08/2017 04:54:01
 
 
À
08/08/2017 04:27:38
Information générale
Forum:
HTML5
Catégorie:
Conception Web réactif
Divers
Thread ID:
01653109
Message ID:
01653142
Vues:
59
>>>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform