question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FormFlow] How to successfully prompt for values?

See original GitHub issue

Hello.

I’ve been playing a bit lately with Forms in the BotFramework, but I’ve not been able to work with float values.

For instance, I have a field like this:

[Prompt("¿How much money would you like to transfer?")
public float Amount { get; set; }

But the FormFlow is only recognizing when I enter an int and nothing else. (Ex: 1500)

For instance, it should recognize If I reply with:

  • 1500.42
  • 1500,42
  • $1500
  • $1500.42
  • $1500,42
  • The amount I want to transfer is $1500.42
  • Here’s it: $1500

Any suggestions?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
JasonSowerscommented, Dec 28, 2017

Glad you found a solution

1reaction
JasonSowerscommented, Dec 27, 2017

@xjose97x any update?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Started With Customizing A FormFlow Using Microsoft ...
In this article, will help you to customize the forming process, change prompt text, field order and how to add condition field. We...
Read more >
FormFlow - Forms Feature Setup - myDU
Log in to the Campus Portal as an administrator. From the profile drop-down options, select Site Manager. From the side menu, click Global ......
Read more >
Formflow in Microsoft Bot framework — Part 1 - Chatbots Life
Template to use when automatically generating prompts or help for fields. Terms to match on. Supports optional and conditional fields. Value ...
Read more >
Request value for property when user selects property dialog
To get the value, you can implement this in your ResumeAfterOrdersFormDialog since you call your FormFlow like this: context.
Read more >
FormFlow Troubleshooting - my.lakeforest!
How can I calculate a value for a field within a form from two other ... If a payment makes it into the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found