martinph
martinph
TCTwill CMS
Created by martinph on 6/7/2023 in #👊support
Handling of a17-filefield response
Hi guys, I have a custom CMS page using the a17-filefield input, how do I handle the response of field in the Request object? In my blade file I have (copied from the docs):
<a17-filefield name="input6"></a17-filefield>
<a17-filefield name="input6"></a17-filefield>
And in the request object I have:
"input6_2" => "2"
"input6_2" => "2"
Can I safely assume that "2" as the value refers to the ID in the twill_files table? Is the input name always suffixed by this ID also (input6_2)?
10 replies