Skip to content

Doesn't render tag if all fields empty #4

@klibansky

Description

@klibansky

I use your add-on to collect address information.
When a user on my site registers, adding address info is completely optional.

template is like so:

{my_alt_field}
input type=text name=my_alt_field[alt_field_name]
input type=text name=my_alt_field[alt_field_name2]
{/my_alt_field}

I noticed that when the user does not enter any info into the fields when registering (so all field are empty), the tag does not render anything in between the tag pair when trying to output something in my template.

If at least one field has a value, then everything works well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions