🏠 back to Observable

Input TextArea Box for Free Form Region Arithmatic

Almost there.

Could some one help to setup a default text value for the TextArea widget.

Right now each time the users access the notebook it bums and spews trash since the TextArea is empty.



You could replace your definition of query with something like the following:

viewof query = textarea({
  title: "Free form input", 
  value: "difference x^2 + y^2 + z^2 == 1 from 0.5x^2 + 0.9y^2 + (z - 1/2)^2 < 1/3 from x^2 + z^2 <= 1/3", 
  width: "80%",
  rows: 10,
  submit: "Get graph"

Thank you and it worked, I will add that to all the upcoming notebooks, and there will be a huge number :slight_smile:


FYI, the Wolfram Cloud interactive objects time out after a few minutes, if it ceases to work or a silly Red Box appears just refresh the browser or re-run the Free Form