Hello everyone,
i do not understand, what I’m doing wrong.
I just want a simple Promt, that asks for one Value when you hit the bottom.
my script looks like this:
var varKurzbeschreibung;
var varStrasse;
var callbackFunction = function() {
console.log(varKurzbeschreibung);
console.log(varStrasse);
};
let prompter = Prompter.new();
prompter.cancelButtonTitle = 'No Thanks';
prompter.continueButtonTitle = 'Go For It!';
prompter.addParameter('Kurzbeschreibung', 'varKurzbschreibung','text')
.show('Neues Haus eingeben', callbackFunction);
When I Start the script, I get the box withe the labels but I can not enter anything. The box for entering is missing,
When I add
.addParameter('Strasse', 'varStrasse', 'popup')
the box is shown, but also a pickup Box, what I do not want,
What am I doing wrong?
Thanks
Steve
Just use .addParameter('Strasse', 'varStasse','')
. By adding the 'popup'
parameter, you request a selector.
Cheers, Daniel
---
See https://lab.danielleu.com/tapformspro/ for scripts and tips&tricks
Hi Daniel,
thanks for the Answer, I thing I wrote it wrong (may be my english) I made some screenshots to illustrate what I wanted to say.
i do not habe popup in the code, but the textbox only appears when it is there, otherwise I only get a infobox
Regreds
Stee
Attachments:
You must be
logged in to view attached files.
There’s nothing wrong you’re doing. Something is broken in the most recent Tap Forms Pro release, something Brendan has to look at.
In the meantime, just add a dummy parameter .addParameter('Test: ', 'test', 'popup', '')
as a workaround. This widens the prompter and makes the text input field visible.
Cheers, Daniel
---
See https://lab.danielleu.com/tapformspro/ for scripts and tips&tricks
Hi,
ah ok thanks for the workaround, I’ll try that,
Steve
I’ve fixed this for the next update.