Group Abstract Group Abstract

Message Boards Message Boards

CloudDeploy Example: Custom FromFunction Design for Gas Pressure

Posted 9 years ago
Attachments:
POSTED BY: Scot Martin
5 Replies
Posted 9 years ago

Hello @Scot Martin and @Carlo Barbieri, the link that Scot gave us in his post (https://www.wolframcloud.com/objects/user-9a32cd4b-ac8e-41b8-a00d-a9bf698ed3b0/PressureDemo) works great in my Windows PC, however it does not work from my iPad or iPhone: I am able to change the numbers, however the calculation is Not performed after hitting Enter (the Enter key in the iPhone/iPad screen actually becomes labeled "ir", which is Spanish for "Go", I am in Mexico). I really really really want to use Wolfram Development Platform to create interactive web pages to be used from mobile phones and tablets of any brand and operative system, will I be able to do it? do you know why this example (and others, even simple ones) do not work properly from my iPad and iPhone? Does this happen with any mobile device? Thank you

POSTED BY: Jose Gomez

Hi,

First of all it's great to see our little function being put to such good use, I really like the form you've deployed!

I've noticed you use bare HTML tags in your form. Please note that the fact that doing that works at all right now is a serious bug and your form will probably break in the next week or two. The right way to use HTML in a form (or template) is by using EmbeddedHTML, which tells the templating engine not to escape the tags.

Another thing you might want to be aware of is the $Permissions global variable that you can set to "Public" directly. This way you won't have to pass options to CloudDeploy.

And lastly (but I'm sure you've already know about this) a style suggestion.

CompoundExpression[
    a,
    b
]

is exactly equivalent to

a;
b

which is, in my opinion, a bit more readable.

Thanks!

Carlo

POSTED BY: Carlo Barbieri
Posted 9 years ago
POSTED BY: Scot Martin
POSTED BY: EDITORIAL BOARD

Thanks Scot...this is very useful!

POSTED BY: Aeyoss Antelope
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard