How to assign default values to input field?
:
Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, 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