Skip to main content
Question

Toggle fields on interface page between view and edit using a button (script)


Forum|alt.badge.img+4

As above I would like to be able to toggle all fields on an interface page between view and edit by clicking a button at the top of the page. 

7 replies

Mike_AutomaticN
Forum|alt.badge.img+21

Interesting. That would be useful -maybe no need for a script, but just Airtable native feature.
For submitting feature requests I would suggest using Airtable’s new approach and filling out this Product Idea form.

Mike, Consultant @ Automatic Nation


ScottWorld
Forum|alt.badge.img+33
  • Brainy
  • 8801 replies
  • April 4, 2025

You can’t toggle between view and edit, but you can conditionally show & hide groups of fields if you are on a Business Plan or Enterprise Plan.

So, if you are on a Business Plan or Enterprise Plan, you can conditionally show one group of fields that you have set to edit, and then upon clicking a button which updates a field, you can conditionally show another group of fields that are view-only.

If you’re only on the Free Plan or the Teams Plan, the only way to toggle between viewing and editing would be create 2 completely different interface pages — one that has all view-only fields, and one that has all editable fields.

Then, you can have a button take the user back & forth between the 2 different pages. You can also filter out records that shouldn’t be editable from the editable screen.

Hope this helps! If you’d like to hire the best Airtable consultant to help you with anything Airtable-related, please feel free to contact me through my website: Airtable consultant — ScottWorld


Forum|alt.badge.img+4
  • Author
  • Participating Frequently
  • 9 replies
  • April 4, 2025

Hi thanks ​@ScottWorld that is the approach I have taken so far. However it is a bit cumbersome when you have a large number of fields ,


ScottWorld
Forum|alt.badge.img+33
  • Brainy
  • 8801 replies
  • April 4, 2025

Remember that you can group fields together, so you can conditionally show or hide the entire group. You don’t need to do it field-by-field.

- ScottWorld, Expert Airtable Consultant


Forum|alt.badge.img+4
  • Author
  • Participating Frequently
  • 9 replies
  • April 4, 2025

yes have done that also. Hopefully someone more capable than me can create a script.


ScottWorld
Forum|alt.badge.img+33
  • Brainy
  • 8801 replies
  • April 4, 2025

Scripting can not solve this issue, but you can always look at external portal tools that natively offer the view/edit toggle functionality.

The most popular portals that are currently available for Airtable are: Noloco, JetAdmin, Softr, Pory, and Glide.

I gave a one-hour webinar on Noloco called Building a Client Portal on Noloco powered by Airtable.

- ScottWorld, Expert Airtable Consultant


TheTimeSavingCo
Forum|alt.badge.img+28

Hmm, Airtable has functionality that lets us toggle the entire page for Record Review and Sidesheet type Interfaces like so:

Are you using a Blank Interface or something?  If so you could use a Tampermonkey script for this?  It’d be installed locally and would only work on your browser though, and would also break if Airtable updated their Interface editor code.  Here’s a gif of something I threw together! 

 


Reply