Skip Navigation

[Resolved] Checkbox Custom Field inside User Registration Form

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 10 replies, has 2 voices.

Last updated by jiriK-2 6 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#1101723

Hello,

I'm trying to make a required checkbox custom field as an agreement with the Terms of Use as a part of the User Registration Form.

Here it is how it looks now: hidden link

and I would like to have it like this: hidden link

Here is my User Fields Group: hidden link with the checkbox custom field settings hidden link and here is the code inside User Form:

<div class="form-group">
[cred_field field="souhlas" force_type="field" class="form-control" output="bootstrap"]
Souhlasím se hidden link">Zpracováním a ochranou osobních údajů.
</div>

I know that probably it is a very simple issue (and I didn't find the solution by Toolset Forum searching) but I really don't know how to get it ?

Many thanks for your suggestion.

Best,

Jiri.

#1101795

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Could you send me a link to this form so that I can have a look ? It seems that the area need to be made wider.

Thanks,
Shane

#1101829

Hello Shane,

many thanks for your reply, here is the link: hidden link Or do you need an access to backend? I have no problem to give it to you – please just make this communication as private.

Many thanks again.

Best,

Jiri.

#1101833

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Yes please provide the credentials as it seems that I may need to do a little bit more than using css.

Thanks,
Shane

#1102546

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

I went in and added some css to get this to line up for you.

Thanks,
Shane

#1102549

Dear Shane,

many thanks, it is much better now! 🙂

Sorry but (as I declared it at the beginning) I need to display it without a checkbox name/label: hidden link

I didn't find how to disable this label in the settings.

Thanks again, best!

Jiri.

#1102553

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

You aren't able to disable the labels but what I did was to use a part of your text as the label.

Thanks,
Shane

#1102559

Dear Shane,

OK, I understand,

I didn't change anything so why this checkbox looks like this now: hidden link ?

There is no label...

Thanks for your answer, best,

Jiri.

#1102574

OK,

finaly I got it.

I'm trying to make this positioning to a final shape. It is almost good hidden link with this code:

.col-left{
float: left;
}

.col-right{
float: left;
margin-top: 11px;
margin-left: 4px;
}

input[name="wpcf-souhlas"]{
margin-top: -4px;
margin-left: 12px;
}

BUT here on hidden link it doesn't look good on small displays, iPhone: hidden link

Do you have an idea how to precise it?

Thanks again, best,

Jiri.

#1102659

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

What you're going to have to do is to write a mobile css for when it is being viewed on smaller screens.

Take a look at the link below for how to use media queries to write mobile css.
hidden link

Thanks,
Shane

#1103333

Hello Shane,

OK, thanks for your suggestion!

Now I know how to make it. Perfect!

Thanks again.

Jiri