Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Is there any Form Widget for creating forms in thingworx?
i want to create a form with multiple rows and columns as shown in the file.
Solved! Go to Solution.
Hello,
You might be able to do it using custom CSS, but it is probably not recommended.
It is likely that creating your own Form widget would be the best option going forward.
There seems to be some libraries for it already, although perhaps not for free.
Regards,
Jens
Hello,
I don't recall seeing a widget like this.
What is your use case here? Do you want the user to fill out this form in a mashup?
Or do you want this form to be printed with some data from Thingworx in the form?
Or do you just want to let users print this form?
Regards,
Jens
I want the user to fill out this form in a mashup.
How can i approach to create a form like this? how can i took inputs from the users?
Hello,
In case you don't want to develop your own widget for this, you would have to build your mashup in such a way that it looks like a form.
Perhaps you could use a grid where you could have a data set of rows of the rows you want your users to add data to.
Something like this:
Or possibly, if the form is static, you could upload it as an image and put input fields on top of the image.
But perhaps someone else knows about some custom built widget that does this...
Regards,
Jens
Hi @KB_10564916.
Beyond the options already suggested, you could also create your app outside of ThingWorx which would give you more control and then update the appropriate fields in ThingWorx on submit.
Regards.
--Sharon
Hi @KB_10564916
I second @jensc 's approach and I can add that you can just position widgets to make the input mashup to look as much as possible to the form.
You have a variety of ways to do this, you can either create several horizontal containers, or use a collection widget with specific mashups for each row etc...
Forms like this have been built by many users of the platform, and it's doable.
What's your expertise with the ThingWorx mashups as of now?
Hello,
You might be able to do it using custom CSS, but it is probably not recommended.
It is likely that creating your own Form widget would be the best option going forward.
There seems to be some libraries for it already, although perhaps not for free.
Regards,
Jens