Appnitro Software Forums » MachForm

Display additional information in the success page

(6 posts)
  • Started 2 months ago by gothmane
  • Latest reply from redityo

  1. gothmane
    Member

    Hi,

    Here is my situation. I'm using machform to enable to users to submit a registration form. My question is how do I display a confirmation number (like an order number) along with the success message. Also is there a way to start the numbering from, say 6000 instead of starting from 1?

    I hope I'm not confusing. Any help will be greatly apprecaited

    Posted 2 months ago #
  2. Hi ...

    It's possible to show confirmation number with adding a session on your confirmation number element. Try to follow this post

    http://www.appnitro.com/forums/topic/displaying-entry-number-in-success-message?replies=4

    For numbering, can you tell me how you do it for now ? for this case maybe you can consider to use auto number logic but you have to make some modification to your machform files.

    Posted 2 months ago #
  3. gothmane
    Member

    Thank you very much.. I'll try to implement this and let you know if I face any problem. :)

    Posted 2 months ago #
  4. feel free to contact us :)

    Posted 2 months ago #
  5. gothmane
    Member

    Yes I was able to display the entry number on the success page. Now the numbering is very simple (1, 2, 3, etc.) Instead what I would like to do is start the numbering from 10,000. How do I do that?

    Posted 2 months ago #
  6. If you want to show inserted data ID from 1000. You can add the session variable with 1000 in post-functions.php file on line 1030.

    //retrieve the id from last inserted data
    if ($form_id == '1') {
       $_SESSION['form_element_data'] = $record_insert_id+1000;
    }
    Posted 2 months ago #

RSS feed for this topic

Reply

You must log in to post.