E
E
Evgeny Khlusov2015-06-11 11:06:53
PHP
Evgeny Khlusov, 2015-06-11 11:06:53

How to implement automatic adjustment of values ​​in the form on bitrix?

Good afternoon!
Tell me how to implement automatic adjustment of values ​​in the form on bitrix?
There is such a task: When submitting an ad, a person enters in the title "I will sell a 1-room apartment of 25 sq / m in Belgorod, Budyonny st. 12, 5th floor" (it is unlikely that he will paint like that, but still).
Sliders (which are in fact inputs) change their value to:
Address: Belgorod, Budyonny 12
Floor: 5
Type: Apartment, Sell
Total area: 25 sq/m
Rooms: 1
Well, etc.
So the question is: How can this be done? (not necessarily by means of bitrix) At least some of this functionality :)
Thank you!
06b6b9ed0d4b40539c98756eff0d3b60.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Goncharov, 2015-06-11
@agmegadeth

I don't think it's a lift. Here it is necessary to connect some kind of linguistic analyzers, as in search engines. Whether there are such in nature I do not know.
Or it is very harsh to tell the user how to enter his message, right up to commas, etc. Then you can parse the string and scatter the values ​​among the variables. But this is not the best option - it will not be convenient for the user to fill out the message exactly as it should.
For me, give him the opportunity to sliders, inputs, buttons and all the rules.

A
Adamos, 2015-06-11
@Adamos

The very idea is crazy. What can be sliders for data not known in advance?
Ceiling height - from 0 to 100. Why not checkbox "yes/no"?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question