Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'm looking for a bit of help with a rule I'm trying to create.
When form is being built I want the rule to see if the user is creating a new node page or whether they are editing an existing node page. If it's new content then all fields are available to edit but if they are editing an existing node then I would like to disable some fields.
I've tried various ways (from checking if published checkbox is ticked to executing PHP code) but nothing seems to be working at the moment.
Could anyone help with the condition I need?
Nathan
Comments
Comment #1
nathanphillips CreditAttribution: nathanphillips commentedI did have this in Rules Form Support queue but moved it over to Rules to see if anyone can help here