ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Editing Channel Fields by code/tag only?

November 20, 2012 7:07pm

Subscribe [1]
  • #1 / Nov 20, 2012 7:07pm

    zeus-zeus

    3 posts

    Hi,

    I’m new to EE and I hope you can help me out. I couldn’t find anything related in the docs.

    I have a channel for entries in which every user can publish (only front-end access).
    Now I created some fields in the back-end but I don’t want the user to have the ability to change it, just the system.

    Example:

    I have a SafeCracker - Form and want field ‘XYZ’ to have value ‘ABC’ after sending it.
    I thought about using an invisible field (hide it via css) but I want to be sure that the user doesn’t have any possibility to influence the value.

    Is there a EE-Tag to make this possible? Or do I have to make it via PHP? (If so how).
    Also if there is a possibility can I use it without sending a form? E.g. in an if-clause?

    I hope it’s not a dumb question, if so, sorry 😉

    Thanks for the help.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases