New project

olizan74 04 May, 2020
Hello,
I have a project for a few months and this period of confinement falls rather well to carry it out.
I am part of a virtual fighter pilot squadron and I manage the website. I was wondering if it was possible to realize this project from chronoform?
Regards,
Olivier[file=12994]tableau_de_service.pdf[/file]
GreyHead 05 May, 2020
Hi Olivier,

Yes, you can do this in CFv6. It will be a moderately complex form so take it step by step.

Bob

PS I think that your place selectors need to be radio buttons or drop-downs rather than checkboxes.
olizan74 05 May, 2020
ok thanks GreyHead.
how can i display data in the frontend ?
GreyHead 05 May, 2020
Hi Olivier,

You can use a Form event to display the submitted data if that is what you are asking?

Bob
olizan74 05 May, 2020
yes, i actualy read the documentation but i don't find anything about display data in the front end.
Must i use a different language ?
GreyHead 05 May, 2020
Hi Olivier,

You can use HTML and include data from the form - please see the variable short codes FAQ

Bob
olizan74 07 May, 2020
too complicated for me.
i'll follow an other way with an other component
regards
Olivier
olizan74 17 May, 2020
Hello,

having found nothing equivalent, I come back to try to find a solution.

I have a text field:
field_text2
name: date
id: date

I would like that each time I click on the "send" button, the form displays a table with rows and columns with the last date at the top of the table.
I know html5 and css3 but how can I proceed without having any knowledge of php?
thank you,
Olivier
GreyHead 17 May, 2020
Hi Olivier,

You can use a Read Data action to get the records and put them in order, then you can use your HTML to add those into a table to be displayed. That will require either using a Repeater action, or a very little PHP

Or you can use ChronoConnectivity to display your list.

Bob
olizan74 17 May, 2020
Do you have some tips & tricks about that with my values ?

I have a
text field:field_text2
name: date
id: date

which code must i place to display DB value ?
olizan74 17 May, 2020
Read DAtabase : read_data1


<h1>Tableau de service</h1>
<table width="100%">
<tr>
<th>Date</th>
<th>Nom de la mission</th>
<th>Flight 1</th>
<th>Flight 2</th>
<th>Flight 3</th>
<th>Flight 4</th>
</tr>
<tr>
<td>{var:read_data1}</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
healyhatman 17 May, 2020
If you want to display data you're better off using ChronoConnectivity and following some of the demo connections.
olizan74 18 May, 2020
i have follow some YTB tutorials but it was on the 5th version. Do you have links ?
healyhatman 18 May, 2020
No, there are demo connections though. Install CC, click new, click demo.
This topic is locked and no more replies can be posted.