Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7858139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T21:17:07+00:00 2026-06-02T21:17:07+00:00

I have a complicated form with some inputs and textareas that allow the user

  • 0

I have a complicated form with some inputs and textareas that allow the user to create a calendar item. I also have a popup that let’s them link activities to the item and another popup that lets them link predefined targets to an activity.

Activities and links between targets and activities should only be saved when the calendar item is saved

I was thinking of handling all the popup stuff by saving the data in a JSON object. That object should then be sent to the PHP file handling the form submit.

I do not want to send the JSON using Ajax, I need it to be part of the form. I was thinking of simply adding a hidden textarea with json data in it and using json_decode() in my page, but I’m wondering if there are better approaches.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T21:17:09+00:00Added an answer on June 2, 2026 at 9:17 pm

    I guess the popups are handled by javascript (jQuery?) so You can fill Your hidden inputs with JSON encoded data from these popups (done by javascript) and then simply post the form when ready.

    Then in PHP You just decode the JSON data and manage them.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a complicated nested form (Ryan Bates' version) with .live() attached to some
i've a particular js function that encrypts some form inputs into base64, but I
I have a page with a form on it that the user visits to
I have a website that requires some secure pages for logging in, user accounts,
i have a pretty complicated form. as you can see below: alt text http://img9.imageshack.us/img9/2465/test2xk.jpg
I have a complicated report that I need to draw with GDI+ (I don't
I have this complicated slider that utilizes tons of animation. I'm trying to find
I have some complicated, problem to be solved. Now I need to write such
Im having a very strange problem, i have a complicated view that returns incorrect
I have a search form with inputs and selects, and when any input/select is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.