Jump to content

Pro fields Table: how to make column required


DrQuincy
 Share

Recommended Posts

I'm using Pro fields table (support has expired but will renew it if needed).

How do you mean a column field required in the settings (not the overall required setting — but individual columns in the table)? I've tried:

required=1
required=true
required

But you can still leave it blank. Any ideas?

Thanks.

Link to comment
Share on other sites

21 hours ago, DrQuincy said:

How do you mean a column field required in the settings (not the overall required setting — but individual columns in the table)?

ProFields Table doesn't provide this as a feature. I requested it in 2015 and it has been on the "todo" list since then, with occasional re-requests from other users. Topic in the Pro support forum:

Would be great if anyone who wants the feature could remind Ryan about it.

Until the feature is part of the official ProFields Table, here is a module that does the job...

Table Column Required

Adds a "required" option for columns within ProFields Table.

Saving a page with an empty required column will alert the user via error messages and highlight the relevant table cells. But it doesn't implement any non-default action set at Template > Advanced > "Required field action".

Paginated tables are supported.

Screenshots

Page Edit

table-column-required

Field config

tcr-config

https://github.com/Toutouwai/TableColumnRequired

  • Like 6
  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...