Default value for select-list

Questions related to using nuBuilder Forte.

Default value for select-list

Postby hf2094 » Sun Jan 28, 2018 11:17 pm

How is a default value set for a select list item?
In nuBuilderPro there is a field for the definition of the default value.

Thx Hf
hf2094
 
Posts: 8
Joined: Thu Jan 08, 2015 3:41 am

Re: Default value for select-list

Postby toms » Sun Jan 28, 2018 11:38 pm

Hi,

You can set it in the form's javascript field:

Code: Select all
$('#your_field').val("1");
toms
 

Re: Default value for select-list

Postby admin » Mon Jan 29, 2018 1:44 am

Hf,

Like toms said,

You can set it in the form's javascript field:


http://wiki.nubuilder.net/nubuilderforte/index.php/Forms#Javascript

form_javascript.PNG
form_javascript.PNG (29.8 KiB) Viewed 580 times



Steven
admin
Site Admin
 
Posts: 3154
Joined: Mon Jun 15, 2009 9:53 am


Return to General