View Source Yousign.Fields (yousign_ex v0.2.3)

Helpers to quickly create anchor fields

Link to this section Summary

Link to this section Functions

Link to this function

checkbox_field(signer_index, optional, checked, name)

View Source
@spec checkbox_field(non_neg_integer(), :t | :f, :t | :f, String.t()) :: String.t()

Creates a new checkbox field

Link to this function

mention_field(signer_index, mention)

View Source
@spec mention_field(non_neg_integer(), String.t()) :: String.t()

Creates a new mention field

Link to this function

signature_field(signer_index, width, height)

View Source
@spec signature_field(non_neg_integer(), non_neg_integer(), non_neg_integer()) ::
  String.t()

Creates a new signature field

Link to this function

text_field(signer_index, max_length, width, height, question, instruction, optional)

View Source
@spec text_field(
  non_neg_integer(),
  non_neg_integer(),
  non_neg_integer(),
  neg_integer(),
  String.t(),
  String.t(),
  :t | :f
) :: String.t()

Creates a new text field