Jump to content


Adding a function to the GC Ent Add form

Enterprise Add form

  • Please log in to reply
1 reply to this topic

#1 rkrajnik

rkrajnik

    Advanced Member

  • Members
  • PipPipPip
  • 34 posts

Posted 28 January 2020 - 07:07 PM

I'm trying to include a value on a GCEnt "Add" page to show how many "records" exist in a table based on the information the user types.  E.g. on the "Add" form and user enters "Smith" in the "last name" field, I'd like to show how many "Smith"'s there are in a specific table... of course there are additional criteria such as "date", "address", "city", etc. that should be included in the count filter.  I know SQL syntax inside-and-out but not clear on how to add this display fields to the GCEnt "Add" form.  Any help would be great.  Thank you.



#2 nunenthal

nunenthal

    Advanced Member

  • Members
  • PipPipPip
  • 33 posts
  • LocationFrance

Posted 20 February 2020 - 04:12 PM

Hello,

 

You can add a Javascript ajax query in your add form to do that.

 

To add a javascript in the add form you can follow this post :

 

https://www.groceryc...rm/#entry149274






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users