WordPress.org

Ready to get started?Download WordPress

Forums

Custom database entry through form (7 posts)

  1. fhmtech
    Member
    Posted 5 years ago #

    hey,

    I was wondering whether it was possible to have a custom form having custom fields and the information entered will get stored into a database.Then users visiting the site can search for the info through a search. Also the data can only be entered by the admin and if the info can be changed and viewed by the admin.

  2. Austin Matzko
    Member
    Posted 5 years ago #

    What you describe is basically how WordPress works: admins or authors enter in data (blog posts), it gets stored in a database, and visitors can use the search feature to search it. You can also also assign an indefinite number of custom fields to each post (they're actually even called "Custom Fields" and located below the post composition textarea).

    So you're in luck!

  3. fhmtech
    Member
    Posted 5 years ago #

    thanks a lot for the reply, i understand that but let me explain my problem

    I creating this website for small education counseling company and they require to enter some data that gets stored in a database which can be modified, data added later, and users can search the data. This data must be entered via a form and stored in the database. The thing is it has to be simple so that a non-technical person can enter the data into the database.

    Custom fields are like Course name, University, country, location and etc.Say for instance someone wants to know which university has a course on medicine, a user will search for medicine and the search results which provide a list of universities which offer medicine as a course.

    This is the concept. I have been searching for this option quite some time but found nothing, think it has to be customized.The only way i could figure it out which would be easier for anybody who it not tech-savvy is to use a form which can be only be used by the admin and should be hidden from the public. Is there any way to create a form with these custom fields or is there any plugin available for this?

    Thanks in advance
    fhmtech

  4. mrmist
    Forum Janitor
    Posted 5 years ago #

    You could try cforms. That's essentially designed as a contact form manager plugin but it might serve your purpose, or at least give you coding ideas if you need to write your own.

  5. fhmtech
    Member
    Posted 5 years ago #

    I was also thinking about cforms, but I myself being still a rookie at using wordpress I don't think I will be able to write my own codes yet.

  6. mrmist
    Forum Janitor
    Posted 5 years ago #

    I am not convinced that you will be able to completely avoid doing some amount of coding or tweaking, as it's unlikely that someone will have written exactly the form that you want.

  7. fhmtech
    Member
    Posted 5 years ago #

    i can probably modify the fields but it is possible to do something like this.

Topic Closed

This topic has been closed to new replies.

About this Topic