We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19328
    • 433 Posts
    Hi there,

    Is it possible to give the resource content a default value on create? I would like to have the resource content being prefilled with some content. I know it could be done with a TV, but I’m curious if it can be done also with the resource content.

    I tried:

    Action: core - resource/create
    Name: modx-resource-content
    Containing panel: modx-panel-resource
    Rule: Field Default Value
    Value: <h2>A title</h2><p>Put your content here</p>

    I’m using MODx 2.0.4-pl2.

    Kind regards,
    Mark