Skip to main content
Question

Adding infinite input feilds on button click using variable feature

  • October 27, 2023
  • 3 replies
  • 623 views

Hello everyone, I am designing a balance sheet in Figma where, I want to add custom feild on button click for a user using Figma variable feature can anyone help me out on this??
Frame 3

This topic has been closed for replies.

3 replies

Nate_G
  • Power Member
  • October 28, 2023

@Rosh One approach is you could have a series of booleans assigned to the fields you want to show. Then when you click “Add” you can set the boolean of a field to true.

View Prototype
Get example file

example


  • Author
  • October 30, 2023

Thanks for the help @Nate_G. It’s really helpful, but I was wondering if somehow we don’t have to do all this effort by assigning predefined variable.


Nate_G
  • Power Member
  • October 30, 2023

@Rosh From what I’ve found, there will be more setup and workarounds needed for some of these interactions due to the current limitations of Figma’s conditional and variable options. But hopefully, in the near future, they will add more robust coding/conditional options.