Message Boards Message Boards

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

Working with FormFunction

Posted 9 years ago
POSTED BY: Kuba Podkalicki
8 Replies
Posted 9 years ago
POSTED BY: Avery Kramer

(I reported the problem with section numbers.)

POSTED BY: Bruce Miller

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)

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

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

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