close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Inserting multiple records ( skip empty)

Thread began 3/24/2016 10:07 am by Kumel | Last modified 3/24/2016 2:30 pm by Ray Borduin | 117 views | 5 replies |

Kumel

Inserting multiple records ( skip empty)

I have a form where multIple records are displayed.

its something like this form.


a (.)
b (.)
c (.)
d (.)

Each of them have checkbox. These are dynamic repeat regions.

So here, there four checkbox(s).

Currently i have added multiple record into this.
& chosen “skip if empty” then that checkbox id

Example: if i choose ‘c’ (3rd) then only that record enters.

Once after this insert record, users again comes to update certain records which shall restore & display which were checked (in this case its “c” which was checked). So this i know how its done.


So then lets say he chosed ‘c’ to uncheck it (rest untouched) so then again this must be entered that he unchecked only this particular record. This must be insert record not update (FYI)
So can there be checked value & unchecked values?
Currently checked value is 1, can uncheck value can be 2.
Well this can be repeated again to checked & unchecked again & again.

How can we achieve this?

Sign in to reply to this post

Ray BorduinWebAssist

You probably would have to delete all of the previous selections and re-insert all of the updates.

Sign in to reply to this post

Kumel

i dont need them to be deleted. its all kinda part of storing history of it. Would this be better if i use radio group?

Sign in to reply to this post

Ray BorduinWebAssist

Potentially... since then there will always be one and only selected and each radio can have unique values when necessary.

Sign in to reply to this post

Kumel

ok i will try..

Sign in to reply to this post

Kumel

well radio group seemed to work. applied some php if else while inserting records.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...