Search Results for 'script'
-
Search Results
-
Hello,
I’m using tap forms to prepare coaching sessions.
I have a “session” table which is related to “activity” table.
Each session has several activities which are numbered in the order I want to do them.
From there, I am trying to prepare a “session summary” printout to give to the client where all activities and their descriptions are listed in the correct order.
So I made a new presentation (I’m sorry if the word is not right, I’m using the French translation).My problem is I manage to display the “activity” table within the page, but its content is of course cropped in a way that makes it unusable.
How can I make a well designed text list of the activities related to my “session” record?Topic: File attachment field
Hey all,
I am by no means a coder, but I love Tap Forms and use it in the business I work for. I have a dilemma that I am hoping someone might be able to help with.
Context – we take school photos and have parents complete an authorisation form at the beginning of every year for what their student can order throughout the year.
I’m hoping to write a script that will take the CSV data I receive from the parents and merge it with the school provided student data, based on a unique identifier like a student number. Has anyone done something similar and be able to help?
The CSV contains a fair amount of data, parents can select what they want their son to order for several different photos, along with credit card information and shipping information.
Thanks,
CourtneyI have created a script that works to change the colour of the record conditionally. I initially created it as a form script and can run it or use a shortcut and it does what it is supposed to do. I tried the same script on a field because I want it to activate automatically as soon as a new record is added or an existing one changed. Although the script works when I run it manually on the field it does not automatically activate when the reference field is modified.
The first line of code (var type_id = record.getFieldValue (‘fld-631813d9eff54787894020691031bc77’);) references the field and gets the data successfully.
Any suggestions?
I have a basic CRM-setup. For my meeting notes I connect all of them to a customer (a related table). I would like to fetch the name from the related table (customer name) and put in to a text-field as a string. Been trying with CHatGPT with the following script but it doesn’t fill the text filed with the value:
function calc() {
// Fält-ID för det fält i relaterade tabellen som innehåller namn
var namn_id = ‘fld-e59a27d956a442f7b1995c71bffdde1e’;// Fält-ID för fältet som länkar till relaterade poster
var relaterade_falt_id = ‘fld-1234567890abcdef1234567890abcdef’;// Fält-ID för textfältet “Kundnamn”
var kundnamn_id = ‘fld-9b111db729f343629bdc9823c7af9810’;// Hämta relaterade poster
var relateradePoster = record.getFieldValue(relaterade_falt_id);// Kontrollera om det finns relaterade poster
if (relateradePoster && relateradePoster.length > 0) {
// Skapa en lista med namn från relaterade poster
var namnLista = relateradePoster.map(function(poster) {
return poster.getFieldValue(namn_id); // Hämta namn från varje relaterad post
});// Kombinera namnen till en kommaseparerad lista
var sammanstalltNamn = namnLista.join(‘, ‘);// Skriv värdet till fältet “Kundnamn”
record.setFieldValue(kundnamn_id, sammanstalltNamn);} else {
// Om inga relaterade poster finns, töm fältet “Kundnamn”
record.setFieldValue(kundnamn_id, ”);
}// Returnera ingenting (fokus är på att skriva till textfältet)
return ”;
}