Announcement

Collapse
No announcement yet.

How to eliminate the checkbox "delete this record" in image gield????

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to eliminate the checkbox "delete this record" in image gield????

    how to make not visible or eliminate the checkbox "delete this record" on a form with an image file field ?
    I don't need this feature in my application.
    thnks for your help!!!!

  • #2
    Not sure, but perhaps if you remove delete option from the toolbar, it will remove this checkbox too?
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Thank you aducom,
      the problem is not resolved by removing delete option.

      Comment


      • #4
        Then the best approach is to make it invisible by using a piece of javascript. I'm not a javascript guru, but you can add javascript snippets into your generated code which can do the job. Afaik, you should be able to find it if you google a bit on this forum.
        Albert Drent
        aducom software netherlands
        scriptcase partner, reseller, support and (turn-key) development
        www.scriptcase.eu / www.scriptcase.nl

        Comment


        • #5
          I don't remember the title, but search the forum, as I remember previously in last 2-3 months, a question like this was asked.
          /Giuseppe

          Professional Scriptcase Services
          Some Customers opinions

          Comment


          • #6
            This should remove the checkbox.

            In the form's onLoad event, add:

            echo "<style>#chk_ajax_img_xxxxx {display: none;}</style>";

            make sure to modify xxxxx to be the name of the scriptcase image field
            Last edited by daveprue; 10-28-2014, 06:49 AM.
            Dave Prue
            Code Whisperer
            Lahar International Corp
            www.lahar.net

            Comment


            • #7
              Could you show a screenshot of what check boxes please? I may be able to help with further info. Thanks

              Comment


              • #8
                hello every body,

                thank you very match daveprue, the problem is resolved with
                (echo "<style>#chk_ajax_img_xxxxx {display: none;}</style>".

                Comment


                • #9
                  ScriptCase should change name from ScriptCase to Scriptace DTWW - Don't touch without Workaround. Just one checkbox in IDE needed with option "Not visible" in Edit mode. But no - Netmake know better what is better. I suggested this future a long time ago. Without feedback.

                  Comment

                  Working...
                  X