Set Input Value

by @pixiebrix

Set the value of an input field


How to Use

After adding the Set Input Value brick, for the input you can add any number of items, one for each input to be filled. In these items set the ‘selector’ type to selector and either use the button to select the page input element or manually select it with jQuery. After, set the ‘value’ to what you want to fill into that page input.

Examples

  • Set the input value of any text field given a jQuery selector
  • Set the input value of chat inputs like on Twitter, Slack
  • Fill the value of fields that are required automatically such as firstname/lastnames, or other data on the page programmatically.

Great to quickly fill forms in a heartbeat!


Inputs

Name Required Type Description
inputs array
isRootAware boolean Whether the brick should run in the context of the target element, or document

Outputs

Name Required Type Description
No outputs for this brick defined.

@pixiebrix/forms/set

Version

1.7.16

Created

Aug. 17, 2021

Updated

June 30, 2022