1
$\begingroup$

I want to understand how to set up input fields on the pages so that you can insert large texts. How can I make Input Field the higher? For example for this code:

CloudDeploy[
    FormPage[{"text"->"String"}, 
    Column[StringSplit[#text]]&]
]

I can use the custom controls:

FormPage[
    {"text100x100" -> 
    <|
        "Interpreter"->"String", 
        "Control"->InputField[#, FieldSize-> {100,100}]&
    |>}, 
    Column[StringSplit[#text100x100]]&
]

But it does not work:

text100x100

$\endgroup$

closed as off-topic by Kuba May 10 '17 at 10:25

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Kuba
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    $\begingroup$ It works, you just missed (..) that is: "Control" -> (InputField[#, FieldSize -> {100, 100}] &) $\endgroup$ – Kuba May 10 '17 at 8:50
  • $\begingroup$ @Kuba, yes, in the notebook it works, but after performing CloudDeploy in the FormPage showed InputFiled with one-line height $\endgroup$ – Kirill Belov May 10 '17 at 9:14
  • 1
    $\begingroup$ This FormPage[{"text100x100" -> <|"Interpreter" -> "String", "Control" -> (InputField[#, FieldSize -> {100, 100}] &)|>}, Column[StringSplit[#text100x100]] &] // CloudDeploy[#, Permissions -> "Public"] & gives me a screen size input field. $\endgroup$ – Kuba May 10 '17 at 9:15
  • $\begingroup$ @Kuba, Thanks! I had a mistake after adding brackets to the expression (..) $\endgroup$ – Kirill Belov May 10 '17 at 9:21