Tap Forms Database Pro for Mac, iPhone, iPad and Apple Watch › Forums › Script Talk › Simple Prompt for one Text Value
- This topic has 5 replies, 3 voices, and was last updated 3 months, 3 weeks ago by
Brendan.
-
AuthorPosts
-
July 13, 2025 at 11:35 PM #52677
Steve-Kai VyskaParticipantHello 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
SteveJuly 14, 2025 at 9:06 AM #52681
Daniel LeuParticipantJust 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&tricksJuly 14, 2025 at 9:15 AM #52682
Steve-Kai VyskaParticipantHi 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
-
This reply was modified 3 months, 3 weeks ago by
Steve-Kai Vyska.
Attachments:
You must be logged in to view attached files.July 14, 2025 at 12:21 PM #52686
Daniel LeuParticipantThere’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&tricksJuly 14, 2025 at 12:55 PM #52687
Steve-Kai VyskaParticipantHi,
ah ok thanks for the workaround, I’ll try that,
Steve
July 14, 2025 at 8:09 PM #52690
BrendanKeymasterI’ve fixed this for the next update.
-
This reply was modified 3 months, 3 weeks ago by
-
AuthorPosts
You must be logged in to reply to this topic.