I'm planning to wrap the FormFunction[]my FormFunction
expression in Cloulddeploy[]Cloulddeploy
but am having trouble initializinggiving input to the required data to Encde
, the function I defined before even starting that processwant to run inside FormFunction
. The defined functionEncde
runs fine in a notebook on its own, but not inside FormFunction[]FormFunction
. The websites I've looked at for help (with my untrained eye, including MMA StackExchangeMathematic.SE) seem to offer contradictory examples of how the function is suppose to be formatted inside FormFunction[]FormFunction
.
What is the correct way to include a user defined function inside a What is the correct way to include a user defined function inside FormFunction[]?FormFunction
expression?
Encde[v1_, p1_] :=
TableForm[
Flatten[
ToUpperCase[
IntegerString[
{Times[ToExpression[ToCharacterCode[v1]], p1]}, 16]]
], TableDirections ->Row
]
FormFunction[{"v1"->"String", "p1"->"Integer"}, Encde]