clear form fields of datamaster names
ok so I have a for I use for both data entry and display, when using for entry as soon as the page loads all of the fields contain the datamaster fields associated with them, i assume because of the set value attached to them to display information from a datalist.
id like to be able to just have the form display with all fields black when its being used to input data, is that possible?
Files:
fieldvalues.png
Dear Oscar,
Can you elaborate more on what you mean? An example would help.
Best,
Dear Oscar,
Can you elaborate more on what you mean? An example would help.
Best,
Hi Oscar,
If I'm understanding your goal correctly, you could achieve it by not having your form connected to your data master. That is, your form would be individual inputs grouped together which either get populated by the user entering all of the values when creating a new manufacturer or by copying the values from an existing manufacturer's data record when editing that manufacturer (triggered by clicking on the hotspot associated with that record). Then, once the values in the form are correct, either a new record is created or an existing record is modified in the data master as appropriate utilizing the "Data Master Action" event attached to a create button or an update button, respectively.
I've created a prototype to demonstrate the implementation I am suggesting. Download the prototype and simply change the file extension from ".rar" to ".vp" and you will be able to open it in JIM. It is not a compressed file, so you do not need to unarchive it. Simulate the prototype and you will be able to verify that it enables you to both create new manufacturers and edit existing manufactures without the input boxes ever being populated with the names of the data master fields as you describe above. To create a new manufacturer, simply populate the input fields of the form with the appropriate values and click the "Create" button. To edit a manufacturer, click on that manufacturer in the data grid. When you do, the form will populate with the values of that manufacturer. Then, make any desired changes in the form and press the "Update" button to post the changes to the data master. In both instances, the data grid on the screen will update automatically. (Note: When you click on a record in the data grid to edit it, the "Create" button is hidden and the "Update" button is shown.)
I've also included some screenshots below. (In the sample data shown in these screenshots, I've intentionally left out values for the manufacturer "Massive Dynamic" for recording editing demonstration purposes.)
I hope this helps. If this is not exactly what you are looking to do, I'm happy to help you explore it further with additional information. Cheers.
--------------------------------------------------------------------------------
1. Initial Form and Data Grid
--------------------------------------------------------------------------------
2. Form Populated with Values for New Manufacturer
--------------------------------------------------------------------------------
3. Form and Data Grid After Submission of New Manufacturer Values
--------------------------------------------------------------------------------
4. Form Populated After Clicking Record in Data Grid
--------------------------------------------------------------------------------
5. Form After Adding Missing Value for Existing Record
--------------------------------------------------------------------------------
6. Form and Data Grid After Submission of Updated Manufacturer Value
Hi Oscar,
If I'm understanding your goal correctly, you could achieve it by not having your form connected to your data master. That is, your form would be individual inputs grouped together which either get populated by the user entering all of the values when creating a new manufacturer or by copying the values from an existing manufacturer's data record when editing that manufacturer (triggered by clicking on the hotspot associated with that record). Then, once the values in the form are correct, either a new record is created or an existing record is modified in the data master as appropriate utilizing the "Data Master Action" event attached to a create button or an update button, respectively.
I've created a prototype to demonstrate the implementation I am suggesting. Download the prototype and simply change the file extension from ".rar" to ".vp" and you will be able to open it in JIM. It is not a compressed file, so you do not need to unarchive it. Simulate the prototype and you will be able to verify that it enables you to both create new manufacturers and edit existing manufactures without the input boxes ever being populated with the names of the data master fields as you describe above. To create a new manufacturer, simply populate the input fields of the form with the appropriate values and click the "Create" button. To edit a manufacturer, click on that manufacturer in the data grid. When you do, the form will populate with the values of that manufacturer. Then, make any desired changes in the form and press the "Update" button to post the changes to the data master. In both instances, the data grid on the screen will update automatically. (Note: When you click on a record in the data grid to edit it, the "Create" button is hidden and the "Update" button is shown.)
I've also included some screenshots below. (In the sample data shown in these screenshots, I've intentionally left out values for the manufacturer "Massive Dynamic" for recording editing demonstration purposes.)
I hope this helps. If this is not exactly what you are looking to do, I'm happy to help you explore it further with additional information. Cheers.
--------------------------------------------------------------------------------
1. Initial Form and Data Grid
--------------------------------------------------------------------------------
2. Form Populated with Values for New Manufacturer
--------------------------------------------------------------------------------
3. Form and Data Grid After Submission of New Manufacturer Values
--------------------------------------------------------------------------------
4. Form Populated After Clicking Record in Data Grid
--------------------------------------------------------------------------------
5. Form After Adding Missing Value for Existing Record
--------------------------------------------------------------------------------
6. Form and Data Grid After Submission of Updated Manufacturer Value
Not sure why the images are no longer showing above, so I'm posting them again.
--------------------------------------------------------------------------------
1. Initial Form and Data Grid
--------------------------------------------------------------------------------
2. Form Populated with Values for New Manufacturer
--------------------------------------------------------------------------------
3. Form and Data Grid After Submission of New Manufacturer Values
--------------------------------------------------------------------------------
4. Form Populated After Clicking Record in Data Grid
--------------------------------------------------------------------------------
5. Form After Adding Missing Value for Existing Record
--------------------------------------------------------------------------------
6. Form and Data Grid After Submission of Updated Manufacturer Value
Not sure why the images are no longer showing above, so I'm posting them again.
--------------------------------------------------------------------------------
1. Initial Form and Data Grid
--------------------------------------------------------------------------------
2. Form Populated with Values for New Manufacturer
--------------------------------------------------------------------------------
3. Form and Data Grid After Submission of New Manufacturer Values
--------------------------------------------------------------------------------
4. Form Populated After Clicking Record in Data Grid
--------------------------------------------------------------------------------
5. Form After Adding Missing Value for Existing Record
--------------------------------------------------------------------------------
6. Form and Data Grid After Submission of Updated Manufacturer Value
Replies have been locked on this page!