Questions tagged [formio]

Form.io is a revolutionary combined Form and API platform for Serverless applications.

Form.io is an enterprise-class combined form and API data management platform for those who are building their own complex form-based business process applications.

172 questions
10
votes
1 answer

How to start building a Custom Component in Formio.js? Where are docs?

I am trying to get a custom component working in Formio.js. I would love a complete, nontrivial working example. I am not using angular, ng, react or the form.io service. The documentation is terrible. I can copy out the Checkmatrix example code…
Nathaniel Tagg
  • 385
  • 2
  • 14
6
votes
1 answer

How does formio use "id"?

Editing attributes in a formio form through the builder results in a number of changes -- fields are reordered apparently at random, and the "id" field gets a new value. This is making it difficult to track actual form changes, since small changes…
Art Huston
  • 61
  • 1
4
votes
2 answers

click/change event for formio component

I am using formio npm package to integrate the formbuilder in react application. I want to get change event for a select box. Is there any way I can configure or identify the change event triggered specific to a component(like a selectbox). I get…
dinesh
  • 51
  • 3
4
votes
1 answer

How can make I fields mandatory during Formio editing?

I'm building a form editing page using the Formio editor and renderer. I'd like to make specific form fields mandatory in the form editor. [different than making the field entry mandatory during submission] There are two roles in the application…
Jeremy
  • 2,970
  • 1
  • 26
  • 50
3
votes
0 answers

TypeScript FormIO Custom Component doesnt Render & cant add Even Listeners

I have created a custom component in FormIO. I have followed the tutorial on the Check Matrix component and I am having issues trying to: get the type to render as a custom name "e.g. mycomp". It returns "unknown component: mycomp" in the builder.…
3
votes
1 answer

Object is possibly undefined formio onchange

I've got this error: Error: src/app/app.component.html:1:30 - error TS2532: Object is possibly 'undefined'. 1 in my form-builder. I think is the (change) the problem. But…
Atlas91
  • 5,754
  • 17
  • 69
  • 141
3
votes
1 answer

Getting React component instance from ReactDOM.render() return

I have custom component Slider for Formio. Function attachReact() is attaching my custom component inside element provided by Formio. After attaching is done I am supposed to get an instance for that component from ReactDOM.render() returned right…
3
votes
1 answer

Is there a full list documenting form.io events?

In form.io github wiki there is documentation on events, sadly its not a complete list.
Alerys
  • 51
  • 2
  • 4
3
votes
0 answers

Can you pass pre-defined values to a formio text field from a static query string

I have a simple formio form set up with a basic text field component that I want to pass a value to based on a link a user will click to open the form. I have tried passing a value with simple URL query string values. My text field is named…
jaksn100
  • 31
  • 1
3
votes
1 answer

FormioJS: How to return values from data.custom to Select?

In FormioJS Select there is data.custom option: "Valid JavaScript which will set a values object which is the values used to populate the select list." https://github.com/formio/formio.js/wiki/Select-Component Call to function works, setting values…
2
votes
1 answer

Form.IO - How to make dropdown choices inside a DataGrid to become visible

I'm using Form.IO JS library for developing a new form. I need to create a DataGrid with 11 components inside of it, so the only way to fit everything inline is to use overflow: auto CSS rule (in fact overflow-x: auto; overflow-y: hidden). Here…
kkaragki
  • 150
  • 2
  • 16
2
votes
0 answers

Form.io dependent dropdown to be filtered from the Resource data

I have a form where I need to select state from dropdown1 these values are loaded from the form.io resource DB (Community DB) upon state drop down selection, I need to fetch the community names belonging to above state dropdwn selected value My…
Code Guy
  • 3,059
  • 2
  • 30
  • 74
2
votes
0 answers

FormIO refresh token implementation

I am implementing a anglar based form builder and renderer application. It is supposed to have a JWT based authentication with refresh tokens as well. I was able to use the fetch plugin in formio to intercept the request and add my JWT token.…
Divneet
  • 648
  • 4
  • 18
2
votes
1 answer

How can you trap onSubmit in Angular *module* when using formio

I really have spent hours on this, to no avail. Time to call in the cavalry. The are many examples how to trap onSubmit for a formio form when it is configured as a component in Angular. But I can't find any example of trapping the onSubmit for a…
2
votes
1 answer

Formio: How can I add a tooltip to a html element?

I am using the formio renderer to display a form in an angular app. I pass a json-object to the formio directive. Now I am trying to place at tooltip to a component. To a textfield it is no problem: { "label": "Text Field", …
nave83
  • 21
  • 2
1
2 3
11 12