# hello-plus/1.2.0/modules/forms/assets/js/editor/module.js

Hello Plus, version 1.2.0. 28 lines.

- Page: https://pluginprobe.com/plugins/hello-plus/1.2.0/code/modules/forms/assets/js/editor/module.js
- Raw: https://pluginprobe.com/plugins/hello-plus/1.2.0/raw/modules/forms/assets/js/editor/module.js
- Modified: 2024-12-11T13:58:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/hello-plus/1.2.0/code/modules/forms/assets/js/editor/module.js#L10-L20`.

```javascript
import Component from './component';
import FieldsMapControl from './fields-map-control';
import FieldsRepeaterControl from './fields-repeater-control';

export default class FormsModule extends elementorModules.editor.utils.Module {
	onElementorInit() {
		const ReplyToField = require( './reply-to-field' );

		this.replyToField = new ReplyToField();

		// Form fields
		const AcceptanceField = require( './fields/acceptance' ),
			TelField = require( './fields/tel' );

		this.Fields = {
			tel: new TelField( 'ehp-form' ),
			acceptance: new AcceptanceField( 'ehp-form' ),
		};

		elementor.addControlView( 'Fields_map', FieldsMapControl );
		elementor.addControlView( 'form-fields-repeater', FieldsRepeaterControl );
	}

	onElementorInitComponents() {
		$e.components.register( new Component( { manager: this } ) );
	}
}

```
