Answer the question
In order to leave comments, you need to log in
How to separately pull out fields from a form, such as feedback on the Bitrix website?
Hello. The link isk.srv1.zitz.ru/services/partnerskaya-programma has a custom form. You need to take the phone field and the Send button from it so that these elements are separate and you can place these components on the main page of isk.srv1.zitz.ru (scroll to the very end until the text "book a tour"). For example, so that instead of the text in the middle "book a tour" (on the main page) there would be a field with the ability to enter a phone number and instead of the "book a tour" button there would be a "Submit" button, like on the form - isk.srv1.zitz.ru/services/ partnerskaya-programma
How to implement this?!
Answer the question
In order to leave comments, you need to log in
There are a lot of options - Select it all in a component or, for example, create an include area and display it already. Well, or you already have it and you just need to edit the page .
Or I did not quite understand the question and you want someone to do it for you for free?
Gotta start somewhere.)
function sendevent() {
var a = {
phone: $("#PHONE").val(),
info: "-"
};
$.ajax({
type: "POST",
data: a,
url: "/services/eventsend.php",
dataType: "html",
success: function (b) {
console.log(b)
// подгружаем изменяем контент
},
error: function (b) {
console.log("Произошла неожиданная ошибка..")
}
})
};
bxajaxid 8a6c8732dc2496264a2f0003084257
AJAX_CALL Y
sessid b0cd9905f99901000589e0f0ebed9db
NAME тест
PHONE +7 (999) 999-12-34
DATEEX тест
form_submit Отправить
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question