Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35273

Editor - Additional options based on select box

$
0
0

I'm wondering if it's possible to have additional options appear / autofill text boxes based on the value of a select box in the editor.

For instance, if a user was to select follow up, the reminder option would pop up and they would be able to put in the number of days until you needed to follow up with them. Basically

 {
                label: "FollowUp:",
                name:  "tbl_CallData.FollowUp",
                type:  "select",
                ipOpts: [
                    { label: "Follow Up", value: 1 },
                    { label: "None",  value: 0 }
                ],
                "default": 0
            },{
                label: "Reminder:",
                name: "tbl_CallData.Reminder",
                type: "hidden",
                def: 0
            }

I was also wondering if a select box is chosen, can you perform an autofill of multiple text boxes? For example, I choose follow up 1 and it changes the value of reminder to 5, not just show it.

I apologize if this is apparent somewhere and I just didn't see it.


Viewing all articles
Browse latest Browse all 35273

Trending Articles