I’m new with Acf and need your help to create a public form.
Let me clearly explain my problem.
I already create a Field group named “compagnie” with 3 fields type :
Name (type text),
Hour (type number),
Url (type URL)
and use it to create some compagnies.
The public form i want to create is composed with 2 inputs. 1 select and 1 date and hour.
My first problem:
I want to show all the “compagnie title” in a select field on my form.
I tried to follow this tutorial, but all i have tried doesn’t work. So i’m not sure about how to put the function.php. Is it in the template or in my theme function.php.
The category number is 60.
The last problem :
The next step will be to do a calculation invisible for user. This calculation will be (selected_compagnie_number + date_and_hour). Depending the result, i will redirect user.