I have an InfoPath form displaying formation for a commuter sign up list called "Register Commute" I modified the Content Type Display Form and added a list called "Commuter Sign Up" which is associated to the "Register Commute" list through look up column associated. I was then able to connect the 2 web parts through a web part data connection so when an Commute travel is selected it shows folks that are signed up in the display form. AWESOME and works great!

My issue is that I would like to programmatically hide the Add New button in the Commuter Sign Up when the list count (List Count) and the Available Seats field (List Numerical Value) is equal... Please see the image.

Help is greatly appreciated!


  • your SO question got migrated - please avoid posting duplicates on multiple SE plattforms sharepoint.stackexchange.com/questions/156183/…
    – Mx.
    Sep 8, 2015 at 15:15
  • I appreciate your response... A helpful answer would have been more greatly appreciated. :-) Sep 8, 2015 at 18:08
  • you are trying to prevent Items with certain conditions? (no Item allowed where colA is greater colB for example)?
    – Mx.
    Sep 8, 2015 at 18:12
  • I'm trying to prevent Items to be added if 2 datasets are equal or greater than a key value.... I have a column called Number of seats. When the item count on the list items are equal to or greater than I'd like to run some css that will hide the add new button. Sep 8, 2015 at 18:14
  • you can have a lot of fun with list Validation - but Im not sure this helps you here. sharepoint.stackexchange.com/a/154243/10271
    – Mx.
    Sep 8, 2015 at 18:16


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.