Join the Team Forms community

We have an issue with the way that Team Forms handles draft form submissions. Users are opening forms and not updating, or doing minimal updates in the forms. They then leave the update of the form for a period (sometimes days) and it captures the original data (including the date) on the form. Can there be an option on a form, that can be turned on or off at teh form level, to warn users that they are opening a previously "draft" form? I have spoken to a few of our users and they are getting frustrated with this.

1 comment
S

We’re excited to announce that Team Forms now integrates SharePoint’s powerful version history functionality directly into our app, making it easier than ever to manage your forms.


All form templates and responses created in Team Forms are automatically subject to SharePoint’s built-in version control and retention policies, configured by your organization’s IT team. This ensures that you can always:

Revert to a previous version of a form template.

Audit changes made over time.


While SharePoint’s version history is robust, its interface can be cumbersome to navigate. That’s why we’ve brought version history management into Team Forms!


With this new feature, you can now:

View all historic versions of a form template directly in the app.

Roll back to a previous version with a single click.

Compare changes between different versions for better transparency and control.


This enhancement streamlines your workflow, giving you the power of SharePoint with the convenience of Team Forms.

I want to set a deadline for my Team Forms, similar to the feature in Microsoft Forms, where users are unable to respond to the form after the specified deadline.

1 comment
E

Hi everyone,

I am trying to filter out the options from one SharePoint data component which is inside the data grid component. In my SharePoint data component i have used an excel file where i am displaying numbers lets say from 1 to 30. Moreover, the user can have multiple values in it. For example, the user selected 2, 4 and 6 numbers from first row of data grid component from the SharePoint data component now what i want to achieve is that in the second row of data grid component in the SharePoint data component those three numbers (2, 4, 6) should not be displayed. How do i achieve this any suggestions would be useful.

Many thanks!

2 comments
E
A

It has been two weeks without access to the Teams Forms App within Microsoft Teams. Our company has iPhones through T-Mobile, and no one is able to access the Teams Forms. T-Mobile/Microsoft both say its on the Team Forms end. Has anyone had this problem and were you able to resolve it? Attached is the error message/screen that appears.

Thanks!

2 comments
E

The quality of the photos i take with my phone are good when i take them and if i edit them. Once i confirm and upload on a form they decreases in quality quite dramatically. How can i keep original quality or at least better than i am currently getting?

1 comment
E
L
Linda Babaic
E
Solved

Hi,

I am trying to calculate the hours between 2 time fields, please see below.

I have been using the following javascript and it's not calculating - can anyone please provide any assistance, or a different fomula


TypeScript
const startDate = moment(data.startTime)
const endDate = moment(data.endTime)

value = startDate.diff(endDate, 'hour')
7 comments
E
L

Hey All,


I have been trying to get email notifications set up for my forms but keep running into the issues of the link not giving access to the user, the link now showing the correct authorizer form, or the email notifications not properly working.


Does anyone have a template on the email portion where it allows a form to be submitted to the authorizer to authorize and then once this is done having a second email that sends to the user who submitted the form notifying them that their form has been approved or denied?


Thank you!

Hey,


Is it possible to change Submission number generation to occur after the form has been submitted. Our current problem is the Submission Numbers are all over the place, we're guessing this is because staff are opening forms but not submitting.

This is creating issues from an auditing and logging point of view

5 comments
E
T

Hi everybody,

I would like to display all items from a sharepoint data inside a datagrid component. It works well.

But I want to edit the 'test' component inside the datagrid.

In this example, the first column comes from the sharepoint data source. when I want to write something in the second column, it doesn’t work. It's impossible to write something. It bugs...

 

I use this code (logic inside the datagrid component)  and the Redraw On is on 'any change'

 

Plain Text
 // Create a function

async function updateDataGrid(){

// Get all items from the data-source using its id (replace 'yourDataSourceId' with your actual data source id)

var items = await tf.getDataSource('xxxxxxxxxxxx');

// Apply a filter based on data in the form (adjust the filter condition as needed)

var filteredItems = items.filter(i => i?.competence === 'Bâtiment');

// Use a "Map" to rename the columns from the data source to match the names of field names used in the data-grid

var gridItems = filteredItems.map(i => {

return {
requisitionNumber: i?.id,
items: i?.type_intervention,
preuvePhoto: i?.photo,
echeance : i?.echeance,
batiment : i?.batiment,
etage : i?.etage,
emplacement : i?.emplacement,
tache : i?.tache,
urgence : i?.urgence,
test : ''
};
});

// Set the value of the data-grid component programmatically
instance.root.getComponent('i_batiment').setValue(gridItems);
}

// Invoke the function
updateDataGrid();

 

Thanks in advance !

11 comments
E
K

It would be great to have permissions based on usernames from selected from a User Component that a user inputs. Right now permissions is pre-determined to whoever has been set by the form builder as per below.



1 comment
E

Using a text field component to display a custom text value based on item selected from a dropdown. The value flashes after being selected. See video below



2 comments
E
A

Hi there,

I am facing an issue where i want to update the outstanding quantities dynamically by using two methods, I am not sure on how to go about it, any suggestions would be helpful.
I have a form where a user has to select the purchase number from the list (data from sheet1) where the user can see:
- RequestNo, (like orderID)
- PO number (list where he can select the po number),
- Received date (automatically input when logged in),
- Items (from sheet1)
- Ordered quantity (from sheet1),
- Received quantity (manually type),
- Outstanding quantity (dynamically change)

So, when the form is submitted it will save in sheet2 like this (shown in image):

I want to achieve the result like above in excel sheet which is like that whenever there's new order to be added from form submission it should dynamically look in sheet2 if there's any existing entry of that same po number then it should calculate the outstanding quantities dynamically (previous outstanding quantity - current received quantity).

For now I am at that stage where i can display the latest outstanding quantities from sheet2 but i am facing an issue if the entry doesn't exist then it is showing on the form and excel like:

(Which is displaying wrong as it should calculate outstanding quantity normally with the subtraction of ordered qty - received qty.)

And, if i use calculate value under data tab in outstanding qty as:
value = row.orderedQty - row.receivedQty

then it will display correctly on form for first entry as:

But, let's say i received the same items of same po number after two weeks, then on form its displaying as:

As you can see that, the fourth row should display: 1, instead of displaying: 3

How can i achieve the result of first table so that whenever there's no entry it should look in excel sheet2 then automatically subtract normally for the first entry from form submission but if a user receives the delivery for the second time of the same po number then it should look in sheet2 and display the latest previous outstanding qty in sheet2 on the form and accordingly calculate the value of it when items were received for the second time.

2 comments
E
A

How do i make the label of a table display on form. Like a Survey does

1 comment
E

I have created three forms which are linked to one another, in which first form takes the input of supplier name and based on selected supplier, the user can select the items sold by that particular supplier For eg, Dell (supplier) sells Mouse, keyboard, Monitor, Laptop (Items sold by dell supplier which will be shown in items list) and when the user submits it'll add entry to excel as:

OrderID | Supplier | Items ordered | Quantity
01 | Dell | ["Mouse","Keyboard","Monitor","Laptop"] | [2,3,1,5]

Now in second form there is orderID drop down list and when the user selects the ID - 1, he can input the purchase order number, which will shown in same excel sheet and adds the purchase number as:

OrderID | Supplier | Items ordered | Quantity | Purchase Number
01 | Dell | ["Mouse","Keyboard","Monitor","Laptop"] | [2,3,1,5] | PN-0001

My query is that====>Now, In my last form i want to show these items in separate rows for eg, the user ordered 2-mouse, 3-keyboard, 1-monitor, 5-laptop SO, i want to display these as:

OrderID | Supplier | Items ordered | Quantity | Purchase Number
01 | Dell | "Mouse" | 2 | PN-0001
01 | Dell | "Keyboard" | 3 | PN-0001
01 | Dell | "Monitor" | 1 | PN-0001
01 | Dell | "Laptop" | 5 | PN-0001

Because, based on the above table in excel in third form i have third input field where i have to write the received quantity like how much quantity of items the user received and corresponding to the items it should display the input field.

2 comments
E
A

When using a Number element, I can't seem to type any number after entering a '0'. If I type 1 or any other number, it seems to work fine.

1 comment
A

A valuable feature would be the option to manually type the barcode, as it can sometimes be challenging to scan accurately.

1 comment
A

Is it possible to show the form Submission number in a Power BI report. Neither the Forms nor Submissions tables have it as an option.

2 comments
T
R
S
Steve
E
Solved

score survey

Hello everybody,

I'm trying to build a quality control form. So far so good with the form but I can't figure out how to add scoring to my form.



The build looks like this :



Each value is unique and I'd like to say :

if value options1 == Yes 1 point

Ifnot == 0 point


I tried to follow the following help https://help.teamforms.app/en/articles/9127420-calculating-a-score-based-on-users-response

But I don't understand under which tab I should put the formula and what to do in the API tab ?



So far my code looks like this :


Java
value = 
  (data.changersacpoubellesfixesmobiles === 'oui' ? 1 : 0 )
+ (data.ramasserdechetsvoiescirculation === 'oui' ? 1 : 0 )

and I have the following errors :

  • Property 'ramasserdechetsvoiescirculation' does not exist on type 'Data'

Java
This comparison appears to be unintentional because the types 'Record<"changersacpoubellesfixesmobiles" | "ramasserdechetsvoiescirculation" | "controlerEtNettoyerLesTachesDeLiquide" | "nettoyerLesTracesDhuileAuSol" | "nettoyerLesPlaquesDeSignalisation" | "nettoyerLesVoiesDeCirculationEtLesPlacesDeParking" | "nettoyerLesCirculationsPietonnesEnDallesEntreePersonnelEtVisiteurs" | ...' and 'string' have no overlap.(2367)



Thanks in advance !

2 comments
E
S
K
Katia

Hi,

How can I display the name of the location chosen in the Address component? Only the address is displayed.

In this example : I would like to display "Cimetières d'Ixelles" + address


Thank you in advance.



When we submit multi photo uploads within a data grid it doesn't seem to create a new page per photo, it just cuts them off. can this be fixed?

1 comment
E
T
Tom
E
Solved

Hide Input Border in PDF

I'm trying to hide the Border around the input on the PDF. Is there a way to achieve this with Custom CSS?

3 comments
E
T



When submitting, most people see this big green circle and close the window.

But underneath that, the submission is still uploading for three or four more seconds.

Even if the submission doesn't complete properly, the workflow starts and messes everything up.

Until the submission is completely finished uploading, make sure the submission animation doesn't mislead people.

1 comment
A

Could someone give me the path on how to make a simple protocol query form by querying a table in Excel? The table would only have Protocol and Response. Enter the protocol and I will show the corresponding response.

1 comment
E

It would be useful to be able to define default settings for certain components within our own tenant.

Currently I need to manually adjust certain types of components every time they are added to a form. For example, every time I add a File Component to a form, I perform the following tasks:

  • uncheck "Show Image Editor"

  • input details to "File Pattern"

  • input details to "File Maximum Size"

  • check "Required"


It would be convenient to be able to adjust the default settings once, and have those default settings applied to each new instance of the component.