I have multiple CDF files that are linear algebra examples with dynamic entries via
InputFields. An example of a single cell of a matrix is as follows:
InputField[Dynamic[a11, Function[If[NumberQ[#] && #=!=Null && Abs[#] < 50, a11 = #]]], FieldSize->3]
NumberQ instead of the
Number to allow for input of fractions, such as
1/2, instead of having to put in a decimal equivalent.
Now when I would execute the notebook and test there, I had no issues. But after exporting as Web Embeddable, and then try inputting a fraction, I get the following:
I looked through the documentation on
NotebookSecurity and a post on MSE that kind of explains this message. I'm just wondering if someone could explain how to get around this caution message so that the file is always trusted no matter what, such as with
TrustByDefault. I have very narrow knowledge of Mathematica, so I'm not really sure how to apply what is given in the documentation.
Another part of this question I guess is if it is even a good idea to try to get around the caution? Are there any downsides to this?