CeJay Associates
I thought this would be easy, but I can't find the exact method to retrieve the value of a checked box. I tried input[name='item_meta[74][]']:checked.val I'm just trying to retrieve the value of each checked item, pre-pend that value with some text and seperate each value with a comma (or just append a comma to all items.) I haven't created the loop yet, but here is the core of my code: jQuery(document).ready(function($) { $('input[name="item_meta[74][]"]').change(function() { var propTypes = ""; var checkboxes = document.getElementsByName('item_meta[74][]'); for (var n = checkboxes.length, i = 0; i < n; i--) { propTypes = '&idx-q-PropertyTypes%3C0%3E='concat(input[name='item_meta[74][]']:checked.val); } $("#field_qc4u2").val(propTypes); $("#field_qc4u2").change(); }); });
Hi There, I have a form that is creating a search URL. In one part I need to enclose a number in greater than and less than brackets. I used the html code for them, and they were still omitted. Here is my calculation: &idx-q-PropertyTypes<[84]>=[74] I also tried: &idx-q-PropertyTypes<[84]>=[74] where 84 counts the number of items checked and 74 is a comma separated list of items checked. Thanks!
Hello, I would like your thoughts on being able to make a change to a field on a form and having that change apply to future entries only. For example, I am selling widgets at $10 a piece and I've sold 1,000 of them. On Jan 1, I increase my price to 12 each. If I look at an entry before Jan 1, I would see the widgets priced at $10, but entries made on and after Jan 1, would show the new price. It's similar to any ordering system. I can look at my invoices on Amazon and see the price I actually purchased the item at, not the price it is available for today. Thanks for your thoughts!
We are allow users to apply to multiple projects using one form. Users have a dashboard where users can see their submissions and edit them. We would like to take away the ability to edit the submission once the project date has closed. The application looks like (each project is a category): What are you applying to: o Project 1 o Project 2 o Project 3 So assume projects like: Project 1 open Project 2 closed Project 3 open User sees the projects he has applied to: My applications: Project 1 Project 2 Clicking on the project shows the details of that project with an edit link. How can I remove the edit option from the closed project (project 2.) We have discussed using a hidden date field for each radio button that holds the closed date. Then using "if" in the view to show/hide the edit link. But, when Project 2 becomes available 6 months from now, users will be able to edit their old applications. Also, it needs to be easy for the program administrator to open and close projects. I am open to alternative ideas. Thanks!
I've seen this asked, but no-one has answered, other than to use the frm_after_create_entry, and I can set the alt text. I have a form that uploads 12 images (not counting the profile image) and each images has an associated "Title" field. I can't grasp how to loop through the images and their associated text field without repeating the entry 12 times. Note, it is not one upload field that allows multiple attachments. It is 12 upload fields and 12 title fields. Additionally, I have more than one form with 12 images. I think the question is two fold: How do I loop through the fields of my form instead of typing out the id of each field. How do I update the attachments Title or Caption Meta. I am using gallery shortcode that displays caption and meta, but I only need one or the other. The forms can be viewed here: http://findartisanmarkets.com/sign-up/ Any suggestions on how to do this would be great! Thanks!
I want a user to be able to upload images, up to 12. They can add 0-12 images and I don't want to junk up my form with lots of upload boxes. I have setup a repeatable section and I can hide it using calculated fields and conditionals when there have been 12 entries, but I don't want it hidden. I would like it to remain visible, but I want to hide/disable the + (Add an entry) button. I can do some php & javascript, but the budget for this project doesn't include much time. If you can post a snippet or suggestion here, that would be great. If it is a lot of work, then the customer will have to live with 12 boxes. Thank you in advance.