Prompting for input seems to be broken (on iPadOS) on 1.0.12
This super basic test-script works on my old iPad running 1.0.10, but seems to exit as soon as it hits the prompt on my current iPad running 1.0.12
function Script() {
var text_field_id = ‘fld-fbb43c119bb24512a7599b04d335d3b6’;
var check_mark_id = ‘fld-c164df88f01746b4a476462fd89ab696’;
var check_mark = record.getFieldValue(check_mark_id);
if (!check_mark) {
return;
}
var callbackFunction = function() {
console.log(value_1);
record.setFieldValue(text_field_id, value_1);
record.setFieldValue(check_mark_id, false);
};
let prompter = Prompter.new();
prompter.addParameter(‘Label 1’, ‘value_1’, ‘text’)
.show(‘Message prompt’, callbackFunction);
}
Script();
Backup of the document attached just in case
Looks like the attachment didn’t stick…
Hopefully now it does
Attachments:
You must be
logged in to view attached files.