Posted By admin
Tags: ,
Dynamic form fields – Add new field on focus or change

how can I add autocomplete to this form? please, help me.,Definitely cool, nice functionality,I like this snippet,Can anyone explain how to limit these fields, please? Thank you.,Thanks for the snippet. Really helped. Although it broke when i used options with data-content. Did some dirty-fix and its working…,There is any way to sign a limit to the inputs? I need this function but for 3 data.,How would I use the input fields with preloaded data like if there is a value show the remove button?,How Can I make this with 2 input?,,,Ok I have one more question…I have this amazing snippet working on my page. The only issue I have now is when the new field is added it takes on the same name as the field before it. I need it to increment the name for each line. For example: SelectName1 is the first field name attribute, I need the new line to be SelectName2, and then SelectName3 and so on. How can I accomplish that? Any suggestions? Thank you in advance for your assistance.,Nice one :),I customized the text input a bit and added the following CSS to support addons before and after the input field. Also I like the keyup event more for this. ;),div.input-group-option:last-child input.form-control,div.input-group-option:last-child input.form-control:not(:first-child):not(:last-child) { border-bottom-right-radius: 3px; border-top-right-radius: 3px;},So please do not burn me as I am new to this. First of all this site has taught me a TON! So thank you all for that. Second, I am running into an issue with this snippet as I cannot figure out how to incorporate the JS into my site files. I have created a JS file called dynamic-text.js with its contents being the provided JavaScript. I have added it the scriptbundle on my Site.Master. I have added the provided CSS to my main Bootstrap.css file and entered the HTML as shown. I still will not work. I really think it has something to do with me not knowing how to incorporate the JavaScript. Any help or suggestions would be greatly appreciated. Thank you.,I figured it out. Thank you. AWESOME snippet by the way!!,Does anyone know of an example where the selects are pre populated on load. Say for instance you choose a few selects, save the choices and then want to populate on page load.,You would have to save the selects into the session (on the back end) and the prepopulate them from the session. This is not an easy task unfortunately as far as I know…,The author is renswijnmalen

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

Related Snippets

Leave a comment

Your email address will not be published. Required fields are marked *