最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

customization - Custom table or form

matteradmin2PV0评论

i need a form or table plugin that can be customized to do this:

For example: I am a parcel shipping company. I need some form that can be filled out with shipping info. Later, customer logs on the site to retrive information about the parcel with associated id number.

Simple

i need a form or table plugin that can be customized to do this:

For example: I am a parcel shipping company. I need some form that can be filled out with shipping info. Later, customer logs on the site to retrive information about the parcel with associated id number.

Simple

Share Improve this question asked Feb 25, 2012 at 13:44 GeomataniGeomatani 1 1
  • Nothing, i looked at the table reloader and formadable...will look more today – Geomatani Commented Feb 25, 2012 at 15:23
Add a comment  | 

1 Answer 1

Reset to default 0

How I would do it:

  • Create a public accessible form in a page. Look at the code of front end submission plugins to get an idea.
  • Create a custom post type shipping.
  • Create a custom user role customer with very limited capabilities (read_shipping, edit_user_profile).
  • After form submission create a new shipping entry, register the user in your role if she hasn’t already and send an email to the person who handles shippings.
  • Check all customer data, add the shipping information to the shipping and send an email to the customer with a link to the page holding shipping information.

There are some tricky details:

  • Spam bots will hit your forms.
  • Customers shouldn’t have to enter all their personal data each time new. Offer a login form, ajaxify it.
  • Probably some more, you’ll see it when you start writing code. :)

I wouldn’t say simple.

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far