Message Boards Message Boards

1
|
14776 Views
|
8 Replies
|
4 Total Likes
View groups...
Share
Share this post:

Working with FormFunction

Posted 10 years ago
POSTED BY: Kuba Podkalicki
8 Replies
Posted 10 years ago

Kuba,

If you get resolution to your problem, please post it here. I tried running your code (copied from Pieter's post) and was not able to progress to the second page of the multipage form. I am working on a similar project and had this same issue with the example code provided on Wolfram's Advanced Web Form Creation tutorial. I sent an email to tech support and am currently waiting for a reply. If you find out that it is some sort of settings issue, I'd really like to hear about it.

Thank you

POSTED BY: Avery Kramer

(I reported the problem with section numbers.)

POSTED BY: Bruce Miller
Posted 10 years ago

Thanks, I'd have done this by myself but product feedback form gives an error lately or I'm not getting an automatic case creation confirmation mail at all.

POSTED BY: Kuba Podkalicki

Kuba,

Multipage formfunction works fine in the cloud. I tested your code and it works. If I enter 3 in the rooms field it delivers 3 input fields when next is pressed.

CloudDeploy@FormFunction[
  {
   {{"rooms", "number of rooms"} -> "Integer"}, 
   Table[{"room" <> ToString[i], "guests in room" <> ToString[i]} -> 
      "Integer", {i, #rooms}] &
   }]

If you evaluate in the desktop it is also fine. (note the [] at the end to launch the form)

FormFunction[{{{"rooms", "number of rooms"} -> "Integer"}, 
   Function[
    Table[{"room" <> ToString[i], "guests in room" <> ToString[i]} -> 
      "Integer", {i, #rooms}]]}][]

Could you be more specific on what it is that is not working? (I tested 10.1 kernel, win7 64)

Posted 10 years ago

Thanks Pieter,

1) well, maybe it's a browser related issue. I use the latest Chrome. Do you too?

2) Do you have Preferences/Messages set to Print to Console?

Kuba

POSTED BY: Kuba Podkalicki

Kuba,

1) i tested in chrome, firefox and even IE (latest versions) They all run your code

2) Here are my settings.

enter image description here

Posted 10 years ago

This it the point, change to Print to Console and try.

And about multipage form. I will do further test to narrow this down.

Thanks

POSTED BY: Kuba Podkalicki
Posted 10 years ago

I see points 1. 1. 2. .... when I want to edit the post I see correct 1.2.3... The preview shows something different that the result.

Let this be a question 4...(3)

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

Group Abstract Group Abstract