Appnitro Software Forums » MachForm 2

Guidelines not showing when editing the entry


  1. jimyaghi
    Member

    Guidelines are being shown when filling the form for the first time, but not when you re-edit the form. Is any way guidelines can be shown when you re-edit the form also ?

    Posted 4 months ago #
  2. redityo

    The guidelines text would be show when you edit the form, it is on "field properties". Or do you mean with "re-edit the entries" ? You want to show guidelines when edit the entries ?


    MachForm Support

    Posted 4 months ago #
  3. jimyaghi
    Member

    yes, I want to show the guidelines in edit_entry.php, now it is showing just in view.php. I have modified the css according to a previous post in this forum with no success.

    Posted 4 months ago #
  4. redityo

    You will need to edit "view-functions.php" file for this.
    Go to around line 2002 and you will see this code :

    $element[$j]->guidelines     = '';

    then change the code to be like this :

    $element[$j]->guidelines     = $row['element_guidelines'];

    that would do it


    MachForm Support

    Posted 4 months ago #
  5. jimyaghi
    Member

    thanks very much. It worked fine.

    Posted 4 months ago #

RSS feed for this topic

Reply