JSFiddle - React, Tailwind, and code Playground

by vovkasolovev

HTML

<a href="#elementor-action%3Aaction%3Dpopup%3Aopen%26settings%3DeyJpZCI6IjExNTUiLCJ0b2dnbGUiOmZhbHNlfQ%3D%3D" data-order="!!! Заказ обслуживания" class="elementor-button-link elementor-button elementor-size-xs elementor-animation-shrink" role="button">
						<span class="elementor-button-content-wrapper">
						<span class="elementor-button-icon elementor-align-icon-right">
				<i aria-hidden="true" class="far fa-arrow-alt-circle-up"></i>			</span>
						<span class="elementor-button-text">Заказать</span>
		</span>
					</a>

<script>window.addEventListener("click", function(e) {
if(e.path[0].getAttribute('data-order') && document.getElementById('form-field-order')){console.log("OK");
document.getElementById('form-field-order').value = e.path[0].getAttribute('data-order');
}
});</script>

<div class="elementor-form-fields-wrapper elementor-labels-">
								<div class="elementor-field-type-hidden elementor-field-group elementor-column elementor-field-group-title elementor-col-100">
													<input size="1" type="hidden" name="form_fields[title]" id="form-field-title" class="elementor-field elementor-size-sm  elementor-field-textual" value="НПО РТИ">
											</div>
								<div class="elementor-field-type-text elementor-field-group elementor-column elementor-field-group-order elementor-col-100">
													<input size="1" type="text" name="form_fields[order]" id="form-field-order" class="elementor-field elementor-size-sm  elementor-field-textual" placeholder="Интересующая услуга" value="Заявка на обслуживание">
											</div>
								<div class="elementor-field-type-text elementor-field-group elementor-column elementor-field-group-name elementor-col-100">
												<label for="form-field-name" class="elementor-field-label elementor-screen-only">
								Имя							</label>
														<input size="1" type="text" name="form_fields[name]" id="form-field-name" class="elementor-field elementor-size-sm  elementor-field-textual" placeholder="Ваше...

CSS

input{width:1000px;}