Simple Prompt for one Text Value

Viewing 5 reply threads
  • Author
    Posts
  • July 13, 2025 at 11:35 PM #52677

    Steve-Kai Vyska
    Participant

    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

    July 14, 2025 at 9:06 AM #52681

    Daniel Leu
    Participant

    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

    July 14, 2025 at 9:15 AM #52682

    Steve-Kai Vyska
    Participant

    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.
    July 14, 2025 at 12:21 PM #52686

    Daniel Leu
    Participant

    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

    July 14, 2025 at 12:55 PM #52687

    Steve-Kai Vyska
    Participant

    Hi,

    ah ok thanks for the workaround, I’ll try that,

    Steve

    July 14, 2025 at 8:09 PM #52690

    Brendan
    Keymaster

    I’ve fixed this for the next update.

Viewing 5 reply threads

You must be logged in to reply to this topic.