I have been working on a project that requires me to implement a Show/Hide button on a form password field, that toggles between showing the password as plaintext, and hiding it behind asterisks. What I came up with so far: function pass(){ docum...
I'm trying to get all entity's fields schema names without query to existing record. I haven't got any idea. Also, How can I get it with QueryExpression, cause it retrieve all fields, which contain some info? Andrii, I'm trying to d...
Hello I need to have fields be added and taken away with plus and minus buttons. Whenever I add a field it works fine. When I enter something into a field then add another field, the previous field resets. Also, whenever I click the minus button it r...
I have a text input as follows: <input class="input-large" form="form" type="text" name="product_data[product]" id="product_description_product" value="{$product_data.product}" /> Unfortunately...
After reading this post: using javascript to add form fields.. but below, not to the side? I've made the button work! But I don't know how to receive the output. This is what I entered. var counter = 0; function addNew(...
I have the following to disallow spaces function nospaces(t){ if(t.value.match(/\s/g)){ alert('Username Cannot Have Spaces or Full Stops'); t.value=t.value.replace(/\s/g,''); } } HTML <input type=...
I hope that one of you experts can help me with a problem in datepicker. I have a page with the following fields date, week, item number, description, price I can get the date picker to work for date and week but only if I assign datepicker to eac...
i have this form for adding videos. Now, there's a input field for "title" and i want that to disappear if you have pressed on the checkbox "tryout". How should i do that in JS.. i use jquery....
So as I click the button, the javascript adds new fields. Currently it adds the new text box to the side.. is there a way to make it add below? I guess as if there were a . Here is the code. Thanks! <html> <head> <script type="...
I need to get all the input objects and manipulate the onclick param. The following does the job for <a> links. Looking for something like this for input tags. for (var ls = document.links, numLinks = ls.length, i=0; i<numLinks; i++){ va...
©2020 All rights reserved.