M

Setting a default for custom user field options

  • Thread starter Thread starter Mr Lucky
  • Start date Start date

Visitor Greeting

Welcome to NullWarehouse.com... We are currently seeking Mod's and Contributors. If you wish to apply for a Mod position then please click on Members dropdown arrow, then click on Staff App and fill it out completely and submit it. If you want to be a Contributor then start contributing and we will have our eye on you and take notice, something great could come of it.

  • We have redone the forum. If you notice any issues or errors please open a Support Ticket under the Members dropdown and let us know.
M

Mr Lucky

Guest

I have a custom user field with two options. I want to start off with one of them (radio button) chosen

e.g. Do you wear a hat? Yes / No

I want No to be the default for all so I'm assuming I can do this with a database query

I tried this but to no avail

Code:
Code:
INSERT INTO xf_user_field_value ('field_id', 'field_value')
VALUES ('wearHat', 'No')

Does anyone know what I need to do? Thanks

Continue reading...
 
Similar content Most view View more
Back
Top Bottom