Someone knows why to I need to use /.Return -> Identity
in the code below?
FormPage[
"code" -> "String"
, Module[{},
If[#code!="123", Return["wrong code:" <>#code ]];
"your code is right: "<>#code
]/.Return -> Identity &
]
If I didn't add this, I get Return
in the output.
Is this a Bug in FormPage / FormFunction ?
Return
. Suggestion: Try usingReturn[...,Module]
and see if that improves matters. $\endgroup$Return[...,Module]
solves! Tks Daniel. It seems like a bug so. $\endgroup$