First off, I have replied previously and suggested using third party product for the modal, but it is so much easier to use the JS that is shipped with Seblod. Being ashamed, I apologise to the Seblodiverse and WILL use Seblod's JS.
You seem to be using an old template, not sure if the demo is representative of JSNMico now, but I doubt it has Bootstrap 2, or 3 anyway. JSN used their own framework. Maybe still do.
Terms and Conditions Article
First step is to create your Terms and Conditions Article. I imagine you just need a title, alias, catid and fulltext field.
When it is saved, note the Article Id.
List and Search Type
Next, you need to add the 'Terms and Conditions' Article (Content view) to your Form.
I used a
List and Search Type to grab the Article:
List and Search Type:
- What kind of items are you searching for?:
- How do you want to display these items?
Search Form View, the Field "CCK" will have a Live value of "article".
Add a field to grab the id of the article you want, there already exists the "Article Id" field, add it (or recreate it), and set the live value to the id of the Terms and Conditions Article ie 29 or whatever it is.
I am using the template
Blog - Seb Blog (for no particular reason other than it was already the template being used).
I also used the Item View rather than the List View. If the Item View is not 'clickable', click the List View Button, then the Item view will become available (might have to save first).
Item View I put in the fields Title and Fulltext.
I then put the List and Search Type in the Form:
In your Form, add a List field.
Select the List and Search type just created by putting in the machine name ie my_tandc_search_type or whatever you called it.
Place this field in the Modal Position in the template.
Next step is to install a FREE (no cost) plugin:
I know this because I read this:
Create a new Field, type Button Free
The Button's settings:
- Title: whatever you want
- Name: whatever you want
- Type: Free
- Label: whatever you want
- Label Icon: whatever you want
- Button: either works, but I chose button to be safe
- Show Alternative: Hide, otherwise you want to have an additional clicking option
Place this field in your form where required (not in modal position)
Go to your form and check it out!!
For your checkbox, add a new checkbox field, and as options:
- Yes=1 (not sure if a No=0 would be needed)
For the default value I put 0.
Add your conditional statement if required to your submit button:
This Field [is enabled][ ][#form#] [checkbox checked] WHEN [and] [funky_checkbox_field][is equal]