WebSite X5Help Center

 
Sinisa B.
Sinisa B.
User

Time in form...  en

Autor: Sinisa B.
Visited 294, Followers 1, Udostępniony 0  

Hi,

I'm making a form to collect data into a database.

It would need to record the hour and minute of each entry.

How do I save the time of the entry in the same database? 

Thank you in advance for your help!

Posted on the
7 ODPOWIEDZI - 1 PRAWIDłOWA ODPOWIEDź
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

ciao, ... (It > En)  ...it would be enough to add a date field and a generic field, to be filled with date-day and time values, with EXTRA code.
...here you see an old invention of mine, revised for this case:
https://kolasim.websitex5.me/data-orario-form/
....
...you can get my plaintext code at line 165 of the source code, or if you want to simplify and go into specifics, post your LINK so we can evaluate...

.

ciao

.

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
Sinisa B.
Sinisa B.
User
Autor

@KolAsim

from EN -> IT

Ottimo, grazie mille.

JavaScript mi ​​è chiaro, ora devo solo capire come inserire il DIV appropriato nel mio modulo in modo che l'ora venga visualizzata nel punto giusto... Se dovessi incontrare difficoltà, fammelo sapere.

Grazie ancora!

Czytaj więcej
Posted on the from Sinisa B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

.

ciao

.

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
Sinisa B.
Sinisa B.
User
Autor

KolAsim, grazie!

Ma, domanda stupida, come faccio a inserire codice HTML nel codice di un modulo esistente?

Se WSX5 avesse un editor HTML, sarebbe facile, ad esempio dovrei inserire il campo "Ora" nel codice del modulo esistente.

So che si inserisce JavaScript nell'intestazione (HEAD), ma come faccio a inserire qualche riga di codice in un modulo esistente?

Devo andare su MAPPA, poi su PROPRIETÀ > ESPERTO e copiare l'INTERO MODULO ESISTENTE, per poi inserirvi quelle poche righe di codice?

Comunque, ecco l'URL della pagina:

https://www.commodatio.hr/suglasnost/

Vorrei inserire l'ora (solo l'ora) sotto il campo della data nel formato gg/mm/aaaa.

KolAsim, grazie in anticipo!

Czytaj więcej
Posted on the from Sinisa B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... Next to the date field [Date of date (dd/mm/dddd)*], you have to put a generic field labeled "hour," or "time," as I did, or on the line below.
When you've made the change, let me know.

ciao

.

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
Sinisa B.
Sinisa B.
User
Autor

KolAsim,

Tutto a posto! Raramente lavoro con WSX5, quindi la "logica" del suo utilizzo mi è rimasta dai vecchi tempi, quando avevo il coraggio di smanettare con il codice HTML e Dreamweaver...

KolAsim, grazie ancora!

Czytaj więcej
Posted on the from Sinisa B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... ok ... ciao ...

.

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪