DNN Blogs

Written for the Community, by the Community

Hide and show edit fields in 2sxc using formulas

Written By Aaron Lopez

This is crossposted from my blog at Wolf X Machina: https://wolfxmachina.com/blog/category/video/hide-and-show-edit-fields-in-2sxc-using-formulas

During Summit 2022, I got an amazing lesson on formulas in 2sxc from the one and only Daniel Mettler. If you use 2sxc and make your own apps, learning some basics about 2sxc formulas can really help improve the user experience in a big way.

Consider this scenario: you have a Call to Action app that has an "Image" field. Your app has two templates. In one template, you don't have an image but in the other you do have an image. So you want to hide the Image field for the template that doesn't use it. In this short video, I will show you how to do just that. Just a heads up that I'm using 2sxc 13.2.0 but it should work on v12.

If that has you intrigued, watch this simple follow up to show you how to debug your formulas quickly.

More about Wolf X Machina Read more posts by Aaron

Total: 1 Comment(s)
That was awesome, very glad you tacked on the second video, I didn't about the debug option, thanks!!
Tuesday, March 1, 2022 ·

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved