https://www.thenewsletterplugin.com/documentation/subscription-form-shortcodes

For example, to create the simplest possible form you can use:
[newsletter_form]
[newsletter_field name=”email”]
[/newsletter_form]
Button and field labels are taken from the form configuration but you can specify alternative values:
[newsletter_form button_label=”Go!”]
[newsletter_field name=”email” label=”Your best email”]
[/newsletter_form]
The email field has a special attribute, “button_label”: if set a submission button is shown side by side with the input field to create a single line form. You should deactivate the general form submit button setting the “button_label” to an empty string on the [newsletter_subscription] short code.
Now we want to collect even the name of the subscriber:
[newsletter_form button_label=”Go!”]
[newsletter_field name=”email” label=”Your best email”]
[newsletter_field name=”first_name” label=”Your name”]
[/newsletter_form]
and of course we can decide the switch the two field to ask first the name and then the email. What about a specific preference between the ones configured in the form configuration?
[newsletter_form button_label=”Go!”]
[newsletter_field name=”email” label=”Your best email”]
[newsletter_field name=”first_name” label=”Your name”]
[newsletter_field name=”list” number=”2″ label=”Marketing news”]
[/newsletter_form]
The label for the list is optional, if not specified the main form configuration is used. You can even make a list hidden, so the user automatically has it added to his profile (useful to make different forms for different kind of subscription, like lists).
[newsletter_form button_label=”Go!”]
[newsletter_field name=”email” label=”Your best email”]
[newsletter_field name=”first_name” label=”Your name”]
[newsletter_field name=”list” number=”2″ hidden=”true”]
[/newsletter_form]
A visible preference can be pre-checked, eventually:
[newsletter_form button_label=”Go!”]
[newsletter_field name=”email” label=”Your best email”]
[newsletter_field name=”first_name” label=”Your name”]
[newsletter_field name=”preference” number=”2″ label=”Marketing news” checked=”true”]
[/newsletter_form]
Field short codes support even the extra profile fields.
[newsletter_form button_label=”Go!”]
[newsletter_field name=”email” label=”Your best email”]
[newsletter_field name=”first_name” label=”Your name”]
[newsletter_field name=”profile” number=”1″ label=”City”]
[/newsletter_form]
Of course the label is optional and the kind of field depends on its configuration on main form configuration panel. You can have simple text fields and selection fields.
If you need to bind a form with one or more lists (preferences), you can add them with a special attribute “list”:
[newsletter_form button_label=”Go!” list=”1,2″]
[newsletter_field name=”email” label=”Your best email”]
[/newsletter_form]