Message Boards Message Boards

Create a Dynamic Forms - TemplateSlot as specified in documentation?

GROUPS:

Hi, I am new to Wolfram language. I am trying some examples in tutorial/AdvancedWebFormCreation. The example given under Dynamic Forms section is not working as explained. Here is the code:

CloudDeploy[
 FormFunction[{"state" -> "USState", 
   "county" -> 
    TemplateSlot["state"][
     EntityProperty["AdministrativeDivision", "Subdivisions"]]}, 
  Identity]]

Could anybody please help?

Thanks & Regards, Murali

POSTED BY: Murali Vadavalli
Answer
3 months ago

Murali,

It works if you delete the CloudDeploy:

FormFunction[{"state" -> "USState", 
   "county" -> 
    TemplateSlot["state"][
     EntityProperty["AdministrativeDivision", "Subdivisions"]]}, 
  Identity]

I think it might be a cloud bug since it works in MMA. I'd report it to Tech Support.

Regards,

Neil

POSTED BY: Neil Singer
Answer
3 months ago

Group Abstract Group Abstract