S
S
seroja_brilev2017-06-13 23:08:09
DLE
seroja_brilev, 2017-06-13 23:08:09

The result of the additional field is not saved during registration. What could be the problem?

Hello. Question for connoisseurs of DLE. In general, I created an additional field for the user - a phone number. I insert an additional field into the registration and nothing is saved. The database is also empty. It is saved either through editing the profile or through the admin panel (essentially the same thing).
When registering:

<input placeholder="Например: +380500000000" type="text" name="xfield[phone]"  class="reg_tf" />

When editing your profile:
<input autocomplete="off" placeholder="Например: +380500000000" type="text" name="xfield[phone]" value="[xfvalue_phone]" class="post_tf" />

In the admin:
<input type="text" name="xfield[phone]" id="xfield[phone]" value="">

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
seroja_brilev, 2017-06-14
@seroja_brilev

I decided

td><span class="icon-tf icon-phone"></span><input placeholder="Например: +380500000000" type="text" name="xfield[phone]" id="xfield[phone]" value="" class="reg_tf" /></td>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question