Create role tutorial

[raw]
[/raw]
[if allf_bakd_prod_page_yesn equals="Yes"]
[/if allf_bakd_prod_page_yesn] [if allf_show_icon_menu equals="Yes"]
[/if allf_show_icon_menu] [if allf_bakd_view_page_yesn equals="Yes"]
[/if allf_bakd_view_page_yesn] [if allf_bakd_slim equals="Yes"]
[/if allf_bakd_slim]

Add a new role



.bran_mxpa {background-color:#5e246e;} a#dummySubmitBtn{width: 120px; height: 46px; display: block; background: transparent; border: none; outline: none; position: relative; top: -50px;} input[type='file'] {color: transparent;} (function($){ $('.deadLink').click( function(e) { e.preventDefault(); }); })(jQuery); // Add numbered classes to form fields (function($) { $('input, textarea, select').each(function(i) { $(this).attr('class',i); }); })(jQuery); (function($){ // Disable form fields $("input").attr("disabled", true); $("textarea").attr("disabled", true); $("select").attr("disabled", true); // Insert dummy client into dropdown $("Jill Waites").appendTo("select.9"); // Insert dummy submit link on top of submit button $("").insertAfter(".frm_submit input"); })(jQuery); // Define fillForm function fillForm(){ (function($){ // Populate form fields $("input.8").attr("value","Project Manager"); $("select.9 option[value='12345']").attr("selected","true"); $("select.10 option[value='11742']").attr("selected","true"); $("textarea.11").val("This role will be working with a team of 12, with differing degrees of specialisation and expertise."); $("input.14").attr("value","72000"); $("input.15").attr("value","20"); $("input.16").attr("value","01/05/2016"); $("select.17 option[value='11474']").attr("selected","true"); $("select.18 option[value='11580']").attr("selected","true"); $("select.18 option[value='11581']").attr("selected","true"); $("select.18 option[value='11582']").attr("selected","true"); $("select.18 option[value='11591']").attr("selected","true"); $("select.18 option[value='11592']").attr("selected","true"); $("select.18 option[value='11597']").attr("selected","true"); $("select.18 option[value='11603']").attr("selected","true"); $("select.18 option[value='11604']").attr("selected","true"); $("select.18 option[value='11605']").attr("selected","true"); $("select.18 option[value='11606']").attr("selected","true"); $("select.18 option[value='11608']").attr("selected","true"); $("select.18 option[value='11610']").attr("selected","true"); $("select.18 option[value='11611']").attr("selected","true"); $("select.18 option[value='11615']").attr("selected","true"); $("select.18 option[value='11617']").attr("selected","true"); $("select.18 option[value='11618']").attr("selected","true"); })(jQuery); }; // Instance the tour var tour = new Tour({ template: "

", storage: false, steps: [ { orphan: true, backdrop: true, template: "

", title: "Add a role ", content: "This is the add a role form, where you will enter details of a role you are trying to fill.", onNext: function (tour) { return fillForm(); } }, { element: "textarea.11", title: "Add a role ", content: "For this tutorial, the form is filled with example data.", placement: "bottom" }, { element: ".frm_submit input", template: "

", title: "Click submit", content: "Once the form is completed, click the submit button to add the role.", placement: "bottom" } ] }); jQuery(window).load(function($) { tour.init(true); tour.start(true); tour.goTo(0); });
[if allf_sadm_back equals="Yes"] [/if allf_sadm_back] [if allf_bakd_slim equals="Yes"]
[/if allf_bakd_slim] [if allf_bakd_view_page_yesn equals="Yes"]
[/if allf_bakd_view_page_yesn] [if allf_bakd_prod_page_yesn equals="Yes"]
[/if allf_bakd_prod_page_yesn]