Skip to main content

apply_field_value

Function apply_field_value 

Source
pub fn apply_field_value(
    doc: &mut Document,
    name: &str,
    value: WriteValue<'_>,
) -> Result<WriteOutcome, WritebackError>
Expand description

Set a form field value, updating /V, /AS, /AP and (only as an encoding fallback) /NeedAppearances. See the module docs for the chain.

name is the fully-qualified field name (parent.kid notation); hierarchical forms are fully addressable.