Package com.smartgwt.client.widgets.form.fields

# Interface PastedValueTransformer

public interface PastedValueTransformer

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `transformPastedValue(FormItem item, DynamicForm form, String pastedValue)`
  Notification fired in response to a clipboard "paste" event on freeform text items, giving developers an opportunity to reformat the pasted text.

- ## Method Details

  - ### transformPastedValue

    String transformPastedValue(FormItem item, DynamicForm form, String pastedValue)
    Notification fired in response to a clipboard "paste" event on freeform text items, giving developers an opportunity to reformat the pasted text. The `pastedValue` argument contains the text pasted from the clipboard. This method should return the text value to actually insert into the input element.
    Parameters:
      `item` - Item into which the user pasted a value
      `form` - Pointer to the item's form
      `pastedValue` - Pasted text value
    Returns:
      Reformatted version of the pasted text.