2
$\begingroup$
vlabs = {0 -> "0", 1 -> "1", 2 -> "2"};
TableForm[{{"Java", RadioButtonBar[Dynamic[t1], vlabs]}, {"Pyhton",
 RadioButtonBar[Dynamic[t2], vlabs]}, {"CSS", 
 RadioButtonBar[Dynamic[t3], vlabs]}, 
 Button["Save",
  DatabinAdd[
  Databin["----"], {{"seher", {"java", t1}, {"pyhton", t2}, {"CSS",t3}}}]]}]

When I run this code on the Worksheet It's saving my datas to the databin. When I run this on the Worksheet It's saving my datas to the databin.

But however when I deploy it with CloudDeploy function and click the save button I see this page: enter image description here

What can be the problem? Can you help?

$\endgroup$

1 Answer 1

1
$\begingroup$
vlabs = {0 -> "0", 1 -> "1", 2 -> "2"};
TableForm[{{"Java", RadioButtonBar[t1, vlabs]}, {"Pyhton",
 RadioButtonBar[t2, vlabs]}, {"CSS", 
 RadioButtonBar[t3, vlabs]}, 
 Button["Save",
  DatabinAdd[
   Databin["----"], {{"seher", {"java", t1}, {"pyhton", t2}, {"CSS",t3}}}]]}]

When I remove the Dynamics it worked. I think making the buttons dynamic was creating an error.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.