How to assign default values to input field?
:
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Assign default values to fields
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am
Re: Assign default values to fields
Hi,
You can set a field's default value with javascript.
http://wiki.nubuilder.net/nubuilderfort ... Javascript
You can set a field's default value with javascript.
http://wiki.nubuilder.net/nubuilderfort ... Javascript
Code: Select all
if (nuFormType() == 'edit') {
$('#your_field').val("hello").change();
nuHasNotBeenEdited();
});
You do not have the required permissions to view the files attached to this post.
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am