This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Passing form data to hidden machform field


  1. hurleytech
    Member

    I've seen in other posts, you can populate machform fields with form variables, but is it possible to populate admin-only form fields? I would like to populate a field that the user doesn't see, but is available for the admin.

    Example: domain.com/form.asp?title=CEO

    I want to populate title as an admin-only field that the user doesn't see but the admin will once the form is posted.

    thanks.

    Posted 16 years ago #
  2. yuniar

    populating admin-only field won't be possible, since it would break the whole idea of "admin only".

    If you need to populate hidden field, you can use CSS property to set your field hidden.
    Use "display: none;" property to set a certain field hidden.

    You can then apply the code to populate that field using URL parameter.


    MachForm Founder

    Posted 16 years ago #

RSS feed for this topic

Reply