Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Default value for select-list

Questions related to using nuBuilder Forte.
Post Reply
hf2094
Posts: 22
Joined: Wed Jan 07, 2015 7:11 pm
Been thanked: 2 times

Default value for select-list

Unread post by hf2094 »

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
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Default value for select-list

Unread post by toms »

Hi,

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

Code: Select all

$('#your_field').val("1");
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Default value for select-list

Unread post by admin »

Hf,

Like toms said,
You can set it in the form's JavaScript field:
http://wiki.nubuilder.net/nubuilderfort ... Javascript
form_javascript.PNG

Steven
You do not have the required permissions to view the files attached to this post.
Post Reply