Open pmpinto opened 6 years ago
Hi how we can insert file upload in this form and insert google maps with location piker? thank you
can you put a video tutorial to show us how to do it please thank you
This script builds a method from the item's type adding as
as a prefix and Item
as a suffix as seen below:
var itemTypeConstructorName = snakeCaseToCamelCase("AS_" + item.getType().toString() + "_ITEM");
The problem is that item
has no asFileUploadItem()
method (see the form API reference for item). This seems to be a long known issue with no fix in sight.
Line 57 is:
And
itemTypeConstructorName
for this specificitem
is"asFileUploadItem"
.I do have a file field on this form. Am I missing something?